C# Class Hypermedia.JsonApi.WebApi.JsonApiRequestMetadataParameterBinding

Inheritance: System.Web.Http.Controllers.HttpParameterBinding
Afficher le fichier Open project: cosullivan/Hypermedia

Méthodes publiques

Méthode 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 méthode

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.
Résultat Task

JsonApiRequestMetadataParameterBinding() public méthode

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.
Résultat System