OperationBindingContext Class

Summary

A context that contains information specific to the current request and the action whose parameters are being model bound.

Syntax

public class OperationBindingContext

GitHub

View on GitHub

class Microsoft.AspNet.Mvc.ModelBinding.OperationBindingContext

Properties

BodyBindingState()

Represents if there has been a body bound model found during the current model binding process.

Return type:Microsoft.AspNet.Mvc.ModelBinding.BodyBindingState
public BodyBindingState BodyBindingState { get; set; }
HttpContext()

Gets or sets the [Microsoft.AspNet.Mvc.ModelBinding.OperationBindingContext.HttpContext](Microsoft.AspNet.Mvc.ModelBinding.OperationBindingContext.yml) for the current request.

Return type:HttpContext
public HttpContext HttpContext { get; set; }
InputFormatters()

Gets or sets the set of [Microsoft.AspNet.Mvc.IInputFormatter](Microsoft.AspNet.Mvc.IInputFormatter.yml) instances associated with this context.

Return type:System.Collections.Generic.IList{Microsoft.AspNet.Mvc.IInputFormatter}
public IList<IInputFormatter> InputFormatters { get; set; }
MetadataProvider()

Gets or sets the [Microsoft.AspNet.Mvc.ModelBinding.IModelMetadataProvider](Microsoft.AspNet.Mvc.ModelBinding.IModelMetadataProvider.yml) associated with this context.

Return type:Microsoft.AspNet.Mvc.ModelBinding.IModelMetadataProvider
public IModelMetadataProvider MetadataProvider { get; set; }
ModelBinder()

Gets or sets the [Microsoft.AspNet.Mvc.ModelBinding.IModelBinder](Microsoft.AspNet.Mvc.ModelBinding.IModelBinder.yml) associated with this context.

Return type:Microsoft.AspNet.Mvc.ModelBinding.IModelBinder
public IModelBinder ModelBinder { get; set; }
ValidatorProvider()

Gets or sets the [Microsoft.AspNet.Mvc.ModelBinding.Validation.IModelValidatorProvider](Microsoft.AspNet.Mvc.ModelBinding.Validation.IModelValidatorProvider.yml) instance used for model validation with this context.

Return type:Microsoft.AspNet.Mvc.ModelBinding.Validation.IModelValidatorProvider
public IModelValidatorProvider ValidatorProvider { get; set; }
ValueProvider()

Gets unaltered value provider collection. Value providers can be filtered by specific model binders.

Return type:Microsoft.AspNet.Mvc.ModelBinding.IValueProvider
public IValueProvider ValueProvider { get; set; }