mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-12-22 23:26:31 +01:00
17 lines
379 B
C#
17 lines
379 B
C#
|
|
namespace TINK.Model
|
|
{
|
|
public class NullPostion : IPosition
|
|
{
|
|
internal NullPostion() { }
|
|
|
|
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);
|
|
}
|
|
}
|