Class RestRoute
Inheritance
System.Object
RestRoute
Assembly: EPiServer.Shell.dll
Version: 11.20.7
Syntax
public class RestRoute : RouteBase
Constructors
RestRoute(String, IRouteHandler)
Declaration
public RestRoute(string url, IRouteHandler routeHandler)
Parameters
Type |
Name |
Description |
System.String |
url |
|
System.Web.Routing.IRouteHandler |
routeHandler |
|
RestRoute(String, IRouteHandler, IServiceLocator)
Declaration
public RestRoute(string url, IRouteHandler routeHandler, IServiceLocator serviceLocator)
Parameters
Type |
Name |
Description |
System.String |
url |
|
System.Web.Routing.IRouteHandler |
routeHandler |
|
IServiceLocator |
serviceLocator |
|
Properties
AppRelativeUrl
Declaration
public string AppRelativeUrl { get; }
Property Value
Type |
Description |
System.String |
|
RouteHandler
Declaration
public IRouteHandler RouteHandler { get; }
Property Value
Type |
Description |
System.Web.Routing.IRouteHandler |
|
Stores
Declaration
public IDictionary<string, Type> Stores { get; }
Property Value
Type |
Description |
System.Collections.Generic.IDictionary<System.String, System.Type> |
|
Url
Declaration
public string Url { get; }
Property Value
Type |
Description |
System.String |
|
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
GetRouteData(HttpContextBase)
Declaration
public override RouteData GetRouteData(HttpContextBase httpContext)
Parameters
Type |
Name |
Description |
System.Web.HttpContextBase |
httpContext |
|
Returns
Type |
Description |
System.Web.Routing.RouteData |
|
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 |
|
TryCreateController(String, out IController)
Declaration
public virtual bool TryCreateController(string storeName, out IController controller)
Parameters
Type |
Name |
Description |
System.String |
storeName |
|
System.Web.Mvc.IController |
controller |
|
Returns
Type |
Description |
System.Boolean |
|
Extension Methods