mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-09 00:14:51 +00:00
Use expression bodies for properties
This commit is contained in:
parent
e8b37f03ff
commit
74ba508e26
33 changed files with 194 additions and 230 deletions
|
|
@ -60,8 +60,8 @@ namespace MapControl
|
|||
/// </summary>
|
||||
public Uri ServiceUri
|
||||
{
|
||||
get { return (Uri)GetValue(ServiceUriProperty); }
|
||||
set { SetValue(ServiceUriProperty, value); }
|
||||
get => (Uri)GetValue(ServiceUriProperty);
|
||||
set => SetValue(ServiceUriProperty, value);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -69,8 +69,8 @@ namespace MapControl
|
|||
/// </summary>
|
||||
public string Layers
|
||||
{
|
||||
get { return (string)GetValue(LayersProperty); }
|
||||
set { SetValue(LayersProperty, value); }
|
||||
get => (string)GetValue(LayersProperty);
|
||||
set => SetValue(LayersProperty, value);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -78,8 +78,8 @@ namespace MapControl
|
|||
/// </summary>
|
||||
public string Styles
|
||||
{
|
||||
get { return (string)GetValue(StylesProperty); }
|
||||
set { SetValue(StylesProperty, value); }
|
||||
get => (string)GetValue(StylesProperty);
|
||||
set => SetValue(StylesProperty, value);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue