FormatterParameterBinding Class
Represents parameter binding that will read from the body and invoke the formatters.
Inheritance Hierarchy
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)
Syntax
'Declaration
Public Class FormatterParameterBinding _
Inherits HttpParameterBinding
'Usage
Dim instance As FormatterParameterBinding
public class FormatterParameterBinding : HttpParameterBinding
public ref class FormatterParameterBinding : public HttpParameterBinding
type FormatterParameterBinding =
class
inherit HttpParameterBinding
end
public class FormatterParameterBinding extends HttpParameterBinding
The FormatterParameterBinding type exposes the following members.
Constructors
Name | Description | |
---|---|---|
FormatterParameterBinding | Initializes a new instance of the FormatterParameterBinding class. |
Top
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.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
ExecuteBindingAsync | Asynchronously execute the binding of FormatterParameterBinding. (Overrides HttpParameterBinding.ExecuteBindingAsync(ModelMetadataProvider, HttpActionContext, CancellationToken).) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
GetValue | Gets the parameter value from argument dictionary of the action context. (Inherited from HttpParameterBinding.) | |
MemberwiseClone | (Inherited from Object.) | |
ReadContentAsync | Asynchronously reads the content of FormatterParameterBinding. | |
SetValue | Sets the result of this parameter binding in the argument dictionary of the action context. (Inherited from HttpParameterBinding.) | |
ToString | (Inherited from Object.) |
Top
Remarks
No content here will be updated; please do not add material here.
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.