1using System.Threading.Tasks;
26 this.GeoId = Object.
GeoId;
49 public string GeoId {
get;
set; }
63 public override bool Equals(
object obj)
69 this.
GeoId.Equals(Reference.GeoId) &&
71 (this.
Location?.
Equals(Reference.Location) ?? (Reference.Location is
null));
77 int Result = this.
GeoId.GetHashCode();
Contains information about a position in a geo-spatial coordinate system.
override bool Equals(object obj)
override int GetHashCode()
A base class for geo-spatial objects, implementing the basic members of the IGeoSpatialObject interfa...
string GeoId
The ID of the geo-spatial object.
GeoPosition Location
Location of object.
bool EphemeralLocation
If the location of the geo-spatial object is ephemeral.
A base class for geo-spatial object references, implementing the basic members of the IGeoSpatialObje...
GeoSpatialObjectReference(GeoSpatialObject Object)
A base class for geo-spatial object references, implementing the basic members of the IGeoSpatialObje...
string GeoId
The ID of the geo-spatial object.
GeoPosition Location
Gets the geo-spatial location of the object.
bool EphemeralLocation
If the location of the geo-spatial object is ephemeral.
GeoSpatialObjectReference()
A base class for geo-spatial object references, implementing the basic members of the IGeoSpatialObje...
override bool Equals(object obj)
static async Task< GeoSpatialObjectReference > Create(IGeoSpatialObject Object)
Create a geo-spatial object reference from a geo-spatial object.
override int GetHashCode()
Interface for objects with a geo-spatial location
bool EphemeralLocation
If the location of the geo-spatial object is ephemeral.
Task< GeoPosition > GetLocation()
Gets the geo-spatial location of the object.
string GeoId
The ID of the geo-spatial object.
Reference to an object with a geo-spatial location