mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-07 23:45:05 +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
|
|
@ -29,8 +29,8 @@ namespace MapControl
|
|||
|
||||
public double Latitude
|
||||
{
|
||||
get { return latitude; }
|
||||
set { latitude = Math.Min(Math.Max(value, -90d), 90d); }
|
||||
get => latitude;
|
||||
set => latitude = Math.Min(Math.Max(value, -90d), 90d);
|
||||
}
|
||||
|
||||
public double Longitude { get; set; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue