Class RestControllerBase
Inheritance
System.Object
RestControllerBase
Implements
System.Web.Mvc.Async.IAsyncController
System.Web.Mvc.IController
System.Web.Mvc.Async.IAsyncManagerContainer
Assembly: EPiServer.Shell.dll
Version: 11.20.7
Syntax
[CompressFilter]
public abstract class RestControllerBase : ControllerBase, IAsyncController, IController, IAsyncManagerContainer
Constructors
RestControllerBase()
Declaration
protected RestControllerBase()
Properties
ActionInvoker
Declaration
public IActionInvoker ActionInvoker { get; set; }
Property Value
Type |
Description |
System.Web.Mvc.IActionInvoker |
|
AsyncManager
Declaration
public AsyncManager AsyncManager { get; }
Property Value
Type |
Description |
System.Web.Mvc.Async.AsyncManager |
|
DisableAsyncSupport
Declaration
protected virtual bool DisableAsyncSupport { get; }
Property Value
Type |
Description |
System.Boolean |
|
HttpContext
Declaration
public HttpContextBase HttpContext { get; }
Property Value
Type |
Description |
System.Web.HttpContextBase |
|
RouteData
Declaration
public RouteData RouteData { get; }
Property Value
Type |
Description |
System.Web.Routing.RouteData |
|
User
Declaration
public IPrincipal User { get; }
Property Value
Type |
Description |
System.Security.Principal.IPrincipal |
|
Methods
BeginExecute(RequestContext, AsyncCallback, Object)
Declaration
public IAsyncResult BeginExecute(RequestContext requestContext, AsyncCallback callback, object state)
Parameters
Type |
Name |
Description |
System.Web.Routing.RequestContext |
requestContext |
|
System.AsyncCallback |
callback |
|
System.Object |
state |
|
Returns
Type |
Description |
System.IAsyncResult |
|
EndExecute(IAsyncResult)
Declaration
public void EndExecute(IAsyncResult asyncResult)
Parameters
Type |
Name |
Description |
System.IAsyncResult |
asyncResult |
|
ExecuteCore()
Declaration
protected override void ExecuteCore()
GetActionName()
Declaration
protected virtual string GetActionName()
Returns
Type |
Description |
System.String |
|
Rest(IEnumerable<Object>, ItemRange)
Declaration
protected RestResult Rest(IEnumerable<object> data, ItemRange range)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<System.Object> |
data |
|
ItemRange |
range |
|
Returns
Rest(Object)
Declaration
protected RestResult Rest(object data)
Parameters
Type |
Name |
Description |
System.Object |
data |
|
Returns
Implements
System.Web.Mvc.Async.IAsyncController
System.Web.Mvc.IController
System.Web.Mvc.Async.IAsyncManagerContainer
Extension Methods