C# Class MvcApi.ApiControllerActionInvoker

Inheritance: System.Web.Mvc.Async.AsyncControllerActionInvoker, IApiAsyncActionInvoker
Datei anzeigen Open project: dax70/MvcApi

Private Properties

Property Type Description
ApiControllerActionInvoker System
BeginInvokeAction_ActionNotFound IAsyncResult
BeginInvokeAction_MakeSynchronousAsyncResult IAsyncResult
GetControllerDescriptor System.Web.Mvc.ControllerDescriptor
ValidateRequest void

Public Methods

Method Description
BeginInvokeActionDescriptor ( ControllerContext controllerContext, System.Web.Mvc.ActionDescriptor actionDescriptor, AsyncCallback callback, object state ) : IAsyncResult
EndInvokeActionDescriptor ( IAsyncResult asyncResult ) : bool

Protected Methods

Method Description
CreateActionResult ( ControllerContext controllerContext, System.Web.Mvc.ActionDescriptor actionDescriptor, object actionReturnValue ) : System.Web.Mvc.ActionResult
CreateControllerDescriptor ( Type controllerType ) : System.Web.Mvc.ControllerDescriptor
GetControllerDescriptor ( ControllerContext controllerContext ) : System.Web.Mvc.ControllerDescriptor
RunContentNegotiation ( ControllerContext controllerContext, System.Web.Mvc.ActionDescriptor actionDescriptor, object actionReturnValue ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
ApiControllerActionInvoker ( ) : System
BeginInvokeAction_ActionNotFound ( AsyncCallback callback, object state ) : IAsyncResult
BeginInvokeAction_MakeSynchronousAsyncResult ( AsyncCallback callback, object state ) : IAsyncResult
GetControllerDescriptor ( Type controllerType ) : System.Web.Mvc.ControllerDescriptor
ValidateRequest ( ControllerContext controllerContext ) : void

Method Details

BeginInvokeActionDescriptor() public method

public BeginInvokeActionDescriptor ( ControllerContext controllerContext, System.Web.Mvc.ActionDescriptor actionDescriptor, AsyncCallback callback, object state ) : IAsyncResult
controllerContext ControllerContext
actionDescriptor System.Web.Mvc.ActionDescriptor
callback AsyncCallback
state object
return IAsyncResult

CreateActionResult() protected method

protected CreateActionResult ( ControllerContext controllerContext, System.Web.Mvc.ActionDescriptor actionDescriptor, object actionReturnValue ) : System.Web.Mvc.ActionResult
controllerContext ControllerContext
actionDescriptor System.Web.Mvc.ActionDescriptor
actionReturnValue object
return System.Web.Mvc.ActionResult

CreateControllerDescriptor() protected method

protected CreateControllerDescriptor ( Type controllerType ) : System.Web.Mvc.ControllerDescriptor
controllerType System.Type
return System.Web.Mvc.ControllerDescriptor

EndInvokeActionDescriptor() public method

public EndInvokeActionDescriptor ( IAsyncResult asyncResult ) : bool
asyncResult IAsyncResult
return bool

GetControllerDescriptor() protected method

protected GetControllerDescriptor ( ControllerContext controllerContext ) : System.Web.Mvc.ControllerDescriptor
controllerContext ControllerContext
return System.Web.Mvc.ControllerDescriptor

RunContentNegotiation() protected method

protected RunContentNegotiation ( ControllerContext controllerContext, System.Web.Mvc.ActionDescriptor actionDescriptor, object actionReturnValue ) : System.Web.Mvc.ActionResult
controllerContext ControllerContext
actionDescriptor System.Web.Mvc.ActionDescriptor
actionReturnValue object
return System.Web.Mvc.ActionResult