Export (0) Print
Expand All

FormatterParameterBinding Class

Represents parameter binding that will read from the body and invoke the formatters.

System.Object
  System.Web.Http.Controllers.HttpParameterBinding
    System.Web.Http.ModelBinding.FormatterParameterBinding

Namespace:  System.Web.Http.ModelBinding
Assembly:  System.Web.Http (in System.Web.Http.dll)

public class FormatterParameterBinding : HttpParameterBinding

The FormatterParameterBinding type exposes the following members.

  NameDescription
Public methodFormatterParameterBindingInitializes a new instance of the FormatterParameterBinding class.
Top

  NameDescription
Public propertyBodyModelValidatorGets or sets an interface for the body model validator.
Public propertyDescriptorGets the HttpParameterDescriptor that was used to initialize this instance. (Inherited from HttpParameterBinding.)
Public propertyErrorMessageGets the error message. (Overrides HttpParameterBinding.ErrorMessage.)
Public propertyFormattersGets or sets an enumerable object that represents the formatter for the parameter binding.
Public propertyIsValidGets a value that indicates whether the binding was successful. (Inherited from HttpParameterBinding.)
Public propertyWillReadBodyGets whether the FormatterParameterBindingwill read body. (Overrides HttpParameterBinding.WillReadBody.)
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Public methodExecuteBindingAsyncAsynchronously execute the binding of FormatterParameterBinding. (Overrides HttpParameterBinding.ExecuteBindingAsync(ModelMetadataProvider, HttpActionContext, CancellationToken).)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodGetValue Gets the parameter value from argument dictionary of the action context. (Inherited from HttpParameterBinding.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodReadContentAsync(HttpRequestMessage, Type, IEnumerable<MediaTypeFormatter>, IFormatterLogger)Asynchronously reads the content of FormatterParameterBinding.
Public methodReadContentAsync(HttpRequestMessage, Type, IEnumerable<MediaTypeFormatter>, IFormatterLogger, CancellationToken)
Protected methodSetValueSets the result of this parameter binding in the argument dictionary of the action context. (Inherited from HttpParameterBinding.)
Public methodToString (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft