Simplify CreateFromString MethodName

This commit is contained in:
ClemensFischer 2024-04-11 15:41:05 +02:00
parent 5ad567239c
commit e642846e7d
4 changed files with 4 additions and 4 deletions

View file

@ -11,7 +11,7 @@ namespace MapControl
/// A geographic bounding box with south and north latitude and west and east longitude values in degrees. /// A geographic bounding box with south and north latitude and west and east longitude values in degrees.
/// </summary> /// </summary>
#if WINUI || UWP #if WINUI || UWP
[Windows.Foundation.Metadata.CreateFromString(MethodName = "MapControl.BoundingBox.Parse")] [Windows.Foundation.Metadata.CreateFromString(MethodName = "Parse")]
#else #else
[System.ComponentModel.TypeConverter(typeof(BoundingBoxConverter))] [System.ComponentModel.TypeConverter(typeof(BoundingBoxConverter))]
#endif #endif

View file

@ -11,7 +11,7 @@ namespace MapControl
/// A geographic location with latitude and longitude values in degrees. /// A geographic location with latitude and longitude values in degrees.
/// </summary> /// </summary>
#if WINUI || UWP #if WINUI || UWP
[Windows.Foundation.Metadata.CreateFromString(MethodName = "MapControl.Location.Parse")] [Windows.Foundation.Metadata.CreateFromString(MethodName = "Parse")]
#else #else
[System.ComponentModel.TypeConverter(typeof(LocationConverter))] [System.ComponentModel.TypeConverter(typeof(LocationConverter))]
#endif #endif

View file

@ -13,7 +13,7 @@ namespace MapControl
/// and calculation of great circle and rhumb line locations. /// and calculation of great circle and rhumb line locations.
/// </summary> /// </summary>
#if WINUI || UWP #if WINUI || UWP
[Windows.Foundation.Metadata.CreateFromString(MethodName = "MapControl.LocationCollection.Parse")] [Windows.Foundation.Metadata.CreateFromString(MethodName = "Parse")]
#else #else
[System.ComponentModel.TypeConverter(typeof(LocationCollectionConverter))] [System.ComponentModel.TypeConverter(typeof(LocationCollectionConverter))]
#endif #endif

View file

@ -18,7 +18,7 @@ namespace MapControl
/// Provides the download Uri or ImageSource of map tiles. /// Provides the download Uri or ImageSource of map tiles.
/// </summary> /// </summary>
#if WINUI || UWP #if WINUI || UWP
[Windows.Foundation.Metadata.CreateFromString(MethodName = "MapControl.TileSource.Parse")] [Windows.Foundation.Metadata.CreateFromString(MethodName = "Parse")]
#else #else
[System.ComponentModel.TypeConverter(typeof(TileSourceConverter))] [System.ComponentModel.TypeConverter(typeof(TileSourceConverter))]
#endif #endif