Class Route
Simple route representation.
Inheritance
System.Object
Route
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: TimeCockpit.Data.Geolocation.OSM
Assembly: TimeCockpit.Data.dll
Syntax
public class Route
Constructors
Route()
Declaration
public Route()
Fields
NoMatch
Constant no-match route.
Declaration
public static readonly Route NoMatch
Field Value
Type | Description |
---|---|
Route |
Properties
Distance
Gets or sets the route distance in meters.
Declaration
public decimal Distance { get; set; }
Property Value
Type | Description |
---|---|
System.Decimal |
IsSuccess
Gets or sets a value indicating whether the route could be successfully determined.
Declaration
public bool IsSuccess { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Time
Gets or sets the route travel time in seconds.
Declaration
public decimal Time { get; set; }
Property Value
Type | Description |
---|---|
System.Decimal |