Class RouteStop
Represents a multimodal routing stop within the
MultimodalRoute path.
This contains information about the route and its modal type.
Assembly: Mars.Interfaces.dll
Syntax
public class RouteStop : IEquatable<RouteStop>
Constructors
RouteStop(Route, ModalChoice)
Declaration
public RouteStop(Route route, ModalChoice modalChoice)
Parameters
Properties
Item[Int32]
Gets the edge stop at the specified index.
Declaration
public EdgeStop this[int index] { get; }
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Property Value
ModalChoice
Gets the modal type for that the route is intended
Declaration
public ModalChoice ModalChoice { get; }
Property Value
Route
Declaration
public Route Route { get; }
Property Value
Methods
Equals(RouteStop)
Declaration
public bool Equals(RouteStop other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|