mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-11-05 10:36:30 +01:00
17 lines
330 B
C#
17 lines
330 B
C#
|
|
namespace TINK.Model
|
|
{
|
|
public class NullPosition : IPosition
|
|
{
|
|
internal NullPosition() { }
|
|
|
|
public double Latitude => double.NaN;
|
|
|
|
public double Longitude => double.NaN;
|
|
|
|
public bool IsValid => Position.GetIsValid(Latitude, Longitude);
|
|
|
|
public bool Equals(IPosition other)
|
|
=> Position.GetEquals(this, other);
|
|
}
|
|
}
|