FormatterParameterBinding Class
Represents parameter binding that will read from the body and invoke the formatters.
Namespace: System.Web.Http.ModelBinding
Assembly: System.Web.Http (in System.Web.Http.dll)
Inheritance Hierarchy
System.Object
System.Web.Http.Controllers.HttpParameterBinding
System.Web.Http.ModelBinding.FormatterParameterBinding
Syntax
public class FormatterParameterBinding : HttpParameterBinding
public ref class FormatterParameterBinding : HttpParameterBinding
type FormatterParameterBinding =
class
inherit HttpParameterBinding
end
Public Class FormatterParameterBinding
Inherits HttpParameterBinding
Constructors
Name | Description | |
---|---|---|
FormatterParameterBinding(HttpParameterDescriptor, IEnumerable<MediaTypeFormatter>, IBodyModelValidator) | Initializes a new instance of the FormatterParameterBinding class. |
Properties
Name | Description | |
---|---|---|
BodyModelValidator | Gets or sets an interface for the body model validator. |
|
Descriptor | Gets the HttpParameterDescriptor that was used to initialize this instance.(Inherited from HttpParameterBinding.) |
|
ErrorMessage | Gets the error message.(Overrides HttpParameterBinding.ErrorMessage.) |
|
Formatters | Gets or sets an enumerable object that represents the formatter for the parameter binding. |
|
IsValid | Gets a value that indicates whether the binding was successful.(Inherited from HttpParameterBinding.) |
|
WillReadBody | Gets whether the FormatterParameterBindingwill read body.(Overrides HttpParameterBinding.WillReadBody.) |
Methods
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
System.Web.Http.ModelBinding Namespace
Return to top