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.EPiServer.Common.Handlers
Assembly: ImageVault.EPiServer.Common.dll
Syntax
[Obsolete("Use ImageVault.Common.Lib.Web.NonMappingRoute instead")]
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 |
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 |