C# 클래스 Hypermedia.JsonApi.WebApi.JsonApiRequestMetadataParameterBinding

상속: System.Web.Http.Controllers.HttpParameterBinding
파일 보기 프로젝트 열기: cosullivan/Hypermedia

공개 메소드들

메소드 설명
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