C# Class Subdomain.Routing.AsyncCtp.AsyncTaskActionDescriptor

AsyncActionDescriptor for methods returning a task

Inheritance: System.Web.Mvc.Async.AsyncActionDescriptor
Exibir arquivo Open project: JSkimming/Subdomain-Routing

Public Methods

Method Description
AsyncTaskActionDescriptor ( MethodInfo actionMethod, System.Web.Mvc.ControllerDescriptor controllerDescriptor ) : System

Create object

BeginExecute ( System.Web.Mvc.ControllerContext controllerContext, object>.IDictionary parameters, AsyncCallback callback, object state ) : IAsyncResult
EndExecute ( IAsyncResult asyncResult ) : object
GetParameters ( ) : System.Web.Mvc.ParameterDescriptor[]

Private Methods

Method Description
ExtractParameterFromDictionary ( ParameterInfo parameterInfo, object>.IDictionary parameters, MethodInfo methodInfo ) : object

Method Details

AsyncTaskActionDescriptor() public method

Create object

public AsyncTaskActionDescriptor ( MethodInfo actionMethod, System.Web.Mvc.ControllerDescriptor controllerDescriptor ) : System
actionMethod System.Reflection.MethodInfo
controllerDescriptor System.Web.Mvc.ControllerDescriptor
return System

BeginExecute() public method

public BeginExecute ( System.Web.Mvc.ControllerContext controllerContext, object>.IDictionary parameters, AsyncCallback callback, object state ) : IAsyncResult
controllerContext System.Web.Mvc.ControllerContext
parameters object>.IDictionary
callback AsyncCallback
state object
return IAsyncResult

EndExecute() public method

public EndExecute ( IAsyncResult asyncResult ) : object
asyncResult IAsyncResult
return object

GetParameters() public method

public GetParameters ( ) : System.Web.Mvc.ParameterDescriptor[]
return System.Web.Mvc.ParameterDescriptor[]