Class Route
Represents a route at a certain path.
public class Route
- Inheritance
-
objectRoute
Constructors
Route(string)
Initializes a new instance of the Route class.
public Route(string path)
Parameters
pathstringThe path of the route.
Properties
Path
Gets the path of the route.
public string Path { get; }
Property Value
Segments
Gets the list of segments that makes up the path.
public List<RouteSegment> Segments { get; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.