C# Класс Sage.Routing.LowerCaseRoute

Represents a URL route registered with lower case.
Наследование: System.Web.Routing.Route
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
GetVirtualPath ( System.Web.Routing.RequestContext requestContext, RouteValueDictionary values ) : System.Web.Routing.VirtualPathData

Returns information about the URL that is associated with the route.

LowerCaseRoute ( string url, IRouteHandler routeHandler ) : System

Initializes a new instance of the LowerCaseRoute class, using the specified URL pattern and handler class.

LowerCaseRoute ( string url, RouteValueDictionary defaults, IRouteHandler routeHandler ) : System

Initializes a new instance of the LowerCaseRoute class, using the specified URL pattern, handler class, and default parameter values.

LowerCaseRoute ( string url, RouteValueDictionary defaults, RouteValueDictionary constraints, IRouteHandler routeHandler ) : System

Initializes a new instance of the LowerCaseRoute class, using the specified URL pattern, handler class, default parameter values, and constraints.

LowerCaseRoute ( string url, RouteValueDictionary defaults, RouteValueDictionary constraints, RouteValueDictionary dataTokens, IRouteHandler routeHandler ) : System

Initializes a new instance of the LowerCaseRoute class, using the specified URL pattern, handler class, default parameter values, constraints, and custom values.

ToString ( ) : string

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

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

Returns information about the URL that is associated with the route.
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.
Результат System.Web.Routing.VirtualPathData

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

Initializes a new instance of the LowerCaseRoute class, using the specified URL pattern and handler class.
public LowerCaseRoute ( string url, IRouteHandler routeHandler ) : System
url string The URL pattern for the route.
routeHandler IRouteHandler The object that processes requests for the route.
Результат System

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

Initializes a new instance of the LowerCaseRoute class, using the specified URL pattern, handler class, and default parameter values.
public LowerCaseRoute ( string url, RouteValueDictionary defaults, IRouteHandler routeHandler ) : System
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

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

Initializes a new instance of the LowerCaseRoute class, using the specified URL pattern, handler class, default parameter values, and constraints.
public LowerCaseRoute ( string url, RouteValueDictionary defaults, RouteValueDictionary constraints, IRouteHandler routeHandler ) : System
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

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

Initializes a new instance of the LowerCaseRoute class, using the specified URL pattern, handler class, default parameter values, constraints, and custom values.
public LowerCaseRoute ( string url, RouteValueDictionary defaults, RouteValueDictionary constraints, RouteValueDictionary dataTokens, IRouteHandler routeHandler ) : System
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

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

public ToString ( ) : string
Результат string