ModelBinderParameterBinding Class
Describes a parameter that gets bound via ModelBinding.
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.ModelBinderParameterBinding
Syntax
public class ModelBinderParameterBinding : HttpParameterBinding,
IValueProviderParameterBinding
public ref class ModelBinderParameterBinding : HttpParameterBinding,
IValueProviderParameterBinding
type ModelBinderParameterBinding =
class
inherit HttpParameterBinding
interface IValueProviderParameterBinding
end
Public Class ModelBinderParameterBinding
Inherits HttpParameterBinding
Implements IValueProviderParameterBinding
Constructors
Name | Description | |
---|---|---|
ModelBinderParameterBinding(HttpParameterDescriptor, IModelBinder, IEnumerable<ValueProviderFactory>) | Initializes a new instance of the ModelBinderParameterBinding class. |
Properties
Name | Description | |
---|---|---|
Binder | Gets the model binder. |
|
Descriptor | Gets the HttpParameterDescriptor that was used to initialize this instance.(Inherited from HttpParameterBinding.) |
|
ErrorMessage | If the binding is invalid, gets an error message that describes the binding error.(Inherited from HttpParameterBinding.) |
|
IsValid | Gets a value that indicates whether the binding was successful.(Inherited from HttpParameterBinding.) |
|
ValueProviderFactories | Gets the collection of value provider factory. |
|
WillReadBody | Returns a value indicating whether this HttpParameterBinding instance will read the entity body of the HTTP message.(Inherited from HttpParameterBinding.) |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
ExecuteBindingAsync(ModelMetadataProvider, HttpActionContext, CancellationToken) | Asynchronously executes the parameter binding via the model binder.(Overrides HttpParameterBinding.ExecuteBindingAsync(ModelMetadataProvider, HttpActionContext, CancellationToken).) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
GetValue(HttpActionContext) | Gets the parameter value from argument dictionary of the action context.(Inherited from HttpParameterBinding.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
SetValue(HttpActionContext, Object) | Sets the result of this parameter binding in the argument dictionary of the action context. (Inherited from HttpParameterBinding.) |
|
ToString() | (Inherited from Object.) |
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