C# Class Sage.Routing.LowerCaseRoute

Represents a URL route registered with lower case.
Inheritance: System.Web.Routing.Route
Datei anzeigen Open project: igorfrance/sage Class Usage Examples

Public Methods

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

Method Details

GetVirtualPath() public method

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

LowerCaseRoute() public method

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

LowerCaseRoute() public method

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

LowerCaseRoute() public method

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

LowerCaseRoute() public method

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

ToString() public method

public ToString ( ) : string
return string