Source Class |
The Source type exposes the following members.
Name | Description | |
---|---|---|
DistanceFromTarget | Gets the Distance of the Station from the target location that was specified in the original request for data. | |
Station | Gets the non-null Station that this source represents. |
Name | Description | |
---|---|---|
Equals |
Returns true if obj is a Source object with
equal fields to this.
(Overrides ObjectEquals(Object)) | |
GetHashCode |
Overridden to ensure consistency with Equals.
(Overrides ObjectGetHashCode) | |
ToString |
Returns a non-null, non-empty string representation of this instance for logging and debugging purposes.
(Overrides ObjectToString) |
On the surface this appears very similar to the Station object that it contains, but there is a key difference: the information contained in a Source is specifically relevant to a particular request for data, whilst the Station is independent of that. For example, the Source contains the DistanceFromTarget, which is the distance of the Station from the target location that was specified in the request.