C# Class Hypermedia.JsonApi.WebApi.JsonApiRequestMetadataParameterBinding

Inheritance: System.Web.Http.Controllers.HttpParameterBinding
ファイルを表示 Open project: cosullivan/Hypermedia

Public Methods

Method Description
ExecuteBindingAsync ( System.Web.Http.Metadata.ModelMetadataProvider metadataProvider, System.Web.Http.Controllers.HttpActionContext actionContext, CancellationToken cancellationToken ) : Task

Asynchronously executes the binding for the given request.

JsonApiRequestMetadataParameterBinding ( HttpParameterDescriptor descriptor, IContractResolver contractResolver, Type resourceType ) : System

Initializes a new instance of the T:System.Web.Http.Controllers.HttpParameterBinding class.

Method Details

ExecuteBindingAsync() public method

Asynchronously executes the binding for the given request.
public ExecuteBindingAsync ( System.Web.Http.Metadata.ModelMetadataProvider metadataProvider, System.Web.Http.Controllers.HttpActionContext actionContext, CancellationToken cancellationToken ) : Task
metadataProvider System.Web.Http.Metadata.ModelMetadataProvider Metadata provider to use for validation.
actionContext System.Web.Http.Controllers.HttpActionContext The action context for the binding. The action context contains the parameter dictionary that will get populated with the parameter.
cancellationToken System.Threading.CancellationToken Cancellation token for cancelling the binding operation.
return Task

JsonApiRequestMetadataParameterBinding() public method

Initializes a new instance of the T:System.Web.Http.Controllers.HttpParameterBinding class.
public JsonApiRequestMetadataParameterBinding ( HttpParameterDescriptor descriptor, IContractResolver contractResolver, Type resourceType ) : System
descriptor HttpParameterDescriptor An that describes the parameters.
contractResolver IContractResolver The contract resolver.
resourceType System.Type The resource type that is being bound.
return System