Class NonMappingRoute
Creates a one way route that only maps from an url to a handler. Never from route values to an url.
Inheritance
System.Object
NonMappingRoute
Namespace: ImageVault.Common.Lib.Web
Assembly: ImageVault.Common.dll
Syntax
public class NonMappingRoute : Route
Constructors
NonMappingRoute(String, IRouteHandler)
Initializes a new instance of the NonMappingRoute class.
Declaration
public NonMappingRoute(string url, IRouteHandler handler)
Parameters
Type | Name | Description |
---|---|---|
System.String | url | |
System.Web.Routing.IRouteHandler | handler |
Properties
Path
Gets the Path of the NonMappingRoute
Declaration
public string Path { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
GetVirtualPath(RequestContext, RouteValueDictionary)
Declaration
public override VirtualPathData GetVirtualPath(RequestContext requestContext, RouteValueDictionary values)
Parameters
Type | Name | Description |
---|---|---|
System.Web.Routing.RequestContext | requestContext | |
System.Web.Routing.RouteValueDictionary | values |
Returns
Type | Description |
---|---|
System.Web.Routing.VirtualPathData |