Exemplo n.º 1
0
 /// <summary>
 /// Gets the geo distance in miles between this and another specified located object.
 /// </summary>
 public static double?GetDistance(this IGeoLocated @this, IGeoLocated to) =>
 GetDistance(@this?.GetLocation(), to?.GetLocation());
Exemplo n.º 2
0
 /// <summary>
 /// Gets the geo distance in miles between this and another specified located object.
 /// </summary>
 public static double?GetDistance(this IGeoLocated from, IGeoLocated to) =>
 GetDistance(from?.GetLocation(), to?.GetLocation());