C# Class Nop.Web.Framework.Seo.GenericPathRoute

Provides properties and methods for defining a SEO friendly route, and for getting information about the route.
Inheritance: Nop.Web.Framework.Localization.LocalizedRoute
Mostra file Open project: emilianionascu/NopCommerce Class Usage Examples

Public Methods

Method 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.

Method Details

GenericPathRoute() public method

Initializes a new instance of the System.Web.Routing.Route class, using the specified URL pattern and handler class.
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.
return System.Web

GenericPathRoute() public method

Initializes a new instance of the System.Web.Routing.Route class, using the specified URL pattern, handler class and default parameter values.
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.
return System.Web

GenericPathRoute() public method

Initializes a new instance of the System.Web.Routing.Route class, using the specified URL pattern, handler class, default parameter values and constraints.
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.
return System.Web

GenericPathRoute() public method

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.
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.
return System.Web

GetRouteData() public method

Returns information about the requested route.
public GetRouteData ( System.Web.HttpContextBase httpContext ) : System.Web.Routing.RouteData
httpContext System.Web.HttpContextBase An object that encapsulates information about the HTTP request.
return System.Web.Routing.RouteData