Class HttpRouteData
Encapsulates information regarding the HTTP route.
public class HttpRouteData : IHttpRouteData
- Inheritance
-
HttpRouteData
- Implements
- Inherited Members
Constructors
HttpRouteData(IHttpRoute)
Initializes a new instance of the HttpRouteData class.
public HttpRouteData(IHttpRoute route)
Parameters
route
IHttpRouteAn object that defines the route.
HttpRouteData(IHttpRoute, HttpRouteValueDictionary)
Initializes a new instance of the HttpRouteData class.
public HttpRouteData(IHttpRoute route, HttpRouteValueDictionary values)
Parameters
route
IHttpRouteAn object that defines the route.
values
HttpRouteValueDictionaryThe value.
Properties
Route
Gets the object that represents the route.
public IHttpRoute Route { get; }
Property Value
- IHttpRoute
the object that represents the route.
Values
Gets a collection of URL parameter values and default values for the route.
public IDictionary<string, object> Values { get; }
Property Value
- IDictionary<string, object>
An object that contains values that are parsed from the URL and from default values.