C# Class ODataRestierDynamic.Models.DynamicODataActionInvoker

Contains method that is used to invoke HTTP operation.
Inheritance: IHttpActionInvoker
Mostra file Open project: arcelormittalkriviyrih/odata_unified_svc

Public Methods

Method Description
DynamicODataActionInvoker ( IHttpActionInvoker innerInvoker ) : System

Initializes a new instance of the ODataActionSelector class.

InvokeActionAsync ( System.Web.Http.Controllers.HttpActionContext actionContext, System cancellationToken ) : System.Threading.Tasks.Task

Executes asynchronously the HTTP operation.

Private Methods

Method Description
ReadCollection ( Microsoft.OData.Core.ODataCollectionReader reader ) : Microsoft.OData.Core.ODataCollectionValue

Reads Collection Parameter values provided by a client in a POST request to invoke a particular Action.

ReadParams ( ODataMessageReader messageReader, IEdmOperation action, System.Web.OData.Formatter.Deserialization.ODataDeserializerContext readContext ) : ODataActionParameters

Reads Parameter names and values provided by a client in a POST request to invoke a particular Action.

Method Details

DynamicODataActionInvoker() public method

Initializes a new instance of the ODataActionSelector class.
public DynamicODataActionInvoker ( IHttpActionInvoker innerInvoker ) : System
innerInvoker IHttpActionInvoker The inner controller selector to call.
return System

InvokeActionAsync() public method

Executes asynchronously the HTTP operation.
public InvokeActionAsync ( System.Web.Http.Controllers.HttpActionContext actionContext, System cancellationToken ) : System.Threading.Tasks.Task
actionContext System.Web.Http.Controllers.HttpActionContext The execution context.
cancellationToken System The cancellation token assigned for the HTTP operation.
return System.Threading.Tasks.Task