This topic has not yet been rated - Rate this topic

Route Constructor

Initializes a new instance of the Route class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Route(String, IRouteHandler) Initializes a new instance of the Route class, by using the specified URL pattern and handler class.
Public method Route(String, RouteValueDictionary, IRouteHandler) Initializes a new instance of the Route class, by using the specified URL pattern, default parameter values, and handler class.
Public method Route(String, RouteValueDictionary, RouteValueDictionary, IRouteHandler) Initializes a new instance of the Route class, by using the specified URL pattern, default parameter values, constraints, and handler class.
Public method Route(String, RouteValueDictionary, RouteValueDictionary, RouteValueDictionary, IRouteHandler) Initializes a new instance of the Route class, by using the specified URL pattern, default parameter values, constraints, custom values, and handler class.
Top
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ