mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-20 22:05:07 +00:00
Simplify CreateFromString MethodName
This commit is contained in:
parent
5ad567239c
commit
e642846e7d
4 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue