Class Route
Represents a route at a certain path.
Namespace: Artemis.UI.Shared.Routing
Assembly: Artemis.UI.Shared.dll
Syntax
public class Route
Constructors
Route(string)
Initializes a new instance of the Route class.
Declaration
public Route(string path)
Parameters
Type | Name | Description |
---|---|---|
string | path | The path of the route. |
Properties
Path
Gets the path of the route.
Declaration
public string Path { get; }
Property Value
Type | Description |
---|---|
string |
Segments
Gets the list of segments that makes up the path.
Declaration
public List<RouteSegment> Segments { get; }
Property Value
Type | Description |
---|---|
List<RouteSegment> |
Methods
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |