C# Класс Hypermedia.JsonApi.WebApi.JsonApiRequestMetadataParameterBinding

Наследование: System.Web.Http.Controllers.HttpParameterBinding
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

ExecuteBindingAsync() публичный Метод

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.
Результат Task

JsonApiRequestMetadataParameterBinding() публичный Метод

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.
Результат System