mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 14:37:01 +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
|
|
@ -47,8 +47,8 @@ namespace MapControl
|
|||
/// </summary>
|
||||
public Uri CapabilitiesUri
|
||||
{
|
||||
get { return (Uri)GetValue(CapabilitiesUriProperty); }
|
||||
set { SetValue(CapabilitiesUriProperty, value); }
|
||||
get => (Uri)GetValue(CapabilitiesUriProperty);
|
||||
set => SetValue(CapabilitiesUriProperty, value);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -56,14 +56,11 @@ namespace MapControl
|
|||
/// </summary>
|
||||
public string LayerIdentifier
|
||||
{
|
||||
get { return (string)GetValue(LayerIdentifierProperty); }
|
||||
set { SetValue(LayerIdentifierProperty, value); }
|
||||
get => (string)GetValue(LayerIdentifierProperty);
|
||||
set => SetValue(LayerIdentifierProperty, value);
|
||||
}
|
||||
|
||||
public IEnumerable<WmtsTileMatrixLayer> ChildLayers
|
||||
{
|
||||
get { return Children.Cast<WmtsTileMatrixLayer>(); }
|
||||
}
|
||||
public IEnumerable<WmtsTileMatrixLayer> ChildLayers => Children.Cast<WmtsTileMatrixLayer>();
|
||||
|
||||
public Dictionary<string, WmtsTileMatrixSet> TileMatrixSets { get; } = new Dictionary<string, WmtsTileMatrixSet>();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue