Méthode | Description | |
---|---|---|
GenericPathRoute ( string url, IRouteHandler routeHandler ) : System.Web |
Initializes a new instance of the System.Web.Routing.Route class, using the specified URL pattern and handler class.
|
|
GenericPathRoute ( string url, RouteValueDictionary defaults, IRouteHandler routeHandler ) : System.Web |
Initializes a new instance of the System.Web.Routing.Route class, using the specified URL pattern, handler class and default parameter values.
|
|
GenericPathRoute ( string url, RouteValueDictionary defaults, RouteValueDictionary constraints, IRouteHandler routeHandler ) : System.Web |
Initializes a new instance of the System.Web.Routing.Route class, using the specified URL pattern, handler class, default parameter values and constraints.
|
|
GenericPathRoute ( string url, RouteValueDictionary defaults, RouteValueDictionary constraints, RouteValueDictionary dataTokens, IRouteHandler routeHandler ) : System.Web |
Initializes a new instance of the System.Web.Routing.Route class, using the specified URL pattern, handler class, default parameter values, constraints,and custom values.
|
|
GetRouteData ( System.Web.HttpContextBase httpContext ) : System.Web.Routing.RouteData |
Returns information about the requested route.
|
public GenericPathRoute ( string url, IRouteHandler routeHandler ) : System.Web | ||
url | string | The URL pattern for the route. |
routeHandler | IRouteHandler | The object that processes requests for the route. |
Résultat | System.Web |
public GenericPathRoute ( string url, RouteValueDictionary defaults, IRouteHandler routeHandler ) : System.Web | ||
url | string | The URL pattern for the route. |
defaults | RouteValueDictionary | The values to use if the URL does not contain all the parameters. |
routeHandler | IRouteHandler | The object that processes requests for the route. |
Résultat | System.Web |
public GenericPathRoute ( string url, RouteValueDictionary defaults, RouteValueDictionary constraints, IRouteHandler routeHandler ) : System.Web | ||
url | string | The URL pattern for the route. |
defaults | RouteValueDictionary | The values to use if the URL does not contain all the parameters. |
constraints | RouteValueDictionary | A regular expression that specifies valid values for a URL parameter. |
routeHandler | IRouteHandler | The object that processes requests for the route. |
Résultat | System.Web |
public GenericPathRoute ( string url, RouteValueDictionary defaults, RouteValueDictionary constraints, RouteValueDictionary dataTokens, IRouteHandler routeHandler ) : System.Web | ||
url | string | The URL pattern for the route. |
defaults | RouteValueDictionary | The values to use if the URL does not contain all the parameters. |
constraints | RouteValueDictionary | A regular expression that specifies valid values for a URL parameter. |
dataTokens | RouteValueDictionary | Custom values that are passed to the route handler, but which are not used to determine whether the route matches a specific URL pattern. The route handler might need these values to process the request. |
routeHandler | IRouteHandler | The object that processes requests for the route. |
Résultat | System.Web |
public GetRouteData ( System.Web.HttpContextBase httpContext ) : System.Web.Routing.RouteData | ||
httpContext | System.Web.HttpContextBase | An object that encapsulates information about the HTTP request. |
Résultat | System.Web.Routing.RouteData |