Méthode | Description | |
---|---|---|
CanonicalizeRoute ( ) : System |
Initializes a CanonicalizeRoute with an empty strategy collection.
|
|
GetRouteData ( System.Web.HttpContextBase httpContext ) : System.Web.Routing.RouteData |
Applies each Strategies in turn. Only if the result differs from the originally requested URL a redirect is returned.
|
|
GetVirtualPath ( System.Web.Routing.RequestContext requestContext, RouteValueDictionary values ) : System.Web.Routing.VirtualPathData |
Returns null, allowing other routes to provide the canonical URL for the requested route values.
|
Méthode | Description | |
---|---|---|
GetCanonicalizedRouteData ( System.Web.HttpContextBase httpContext ) : System.Web.Routing.RouteData |
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 |
public GetVirtualPath ( System.Web.Routing.RequestContext requestContext, RouteValueDictionary values ) : System.Web.Routing.VirtualPathData | ||
requestContext | System.Web.Routing.RequestContext | An object that encapsulates information about the requested route. |
values | RouteValueDictionary | An object that contains the parameters for a route. |
Résultat | System.Web.Routing.VirtualPathData |