Class RouteParameter
The RouteParameter class can be used to indicate properties about a route parameter (the literals and placeholders located within segments of a IHttpRoute.RouteTemplate). It can for example be used to indicate that a route parameter is optional.
public sealed class RouteParameter
- Inheritance
-
RouteParameter
- Inherited Members
Fields
Optional
An optional parameter.
public static readonly RouteParameter Optional
Field Value
Methods
ToString()
Returns a string that represents this instance.
public override string ToString()