C# Класс Nop.Web.Framework.Seo.GenericPathRoute

Provides properties and methods for defining a SEO friendly route, and for getting information about the route.
Наследование: Nop.Web.Framework.Localization.LocalizedRoute
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

GenericPathRoute() публичный Метод

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.
Результат System.Web

GenericPathRoute() публичный Метод

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.
Результат System.Web

GenericPathRoute() публичный Метод

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.
Результат System.Web

GenericPathRoute() публичный Метод

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.
Результат System.Web

GetRouteData() публичный Метод

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.
Результат System.Web.Routing.RouteData