TypeMatchModelBinder Class
Maps a browser request to a data object. This class is used when model binding does not require type conversion.
Namespace: System.Web.Http.ModelBinding.Binders
Assembly: System.Web.Http (in System.Web.Http.dll)
Inheritance Hierarchy
System.Object
System.Web.Http.ModelBinding.Binders.TypeMatchModelBinder
Syntax
public sealed class TypeMatchModelBinder : IModelBinder
public ref class TypeMatchModelBinder sealed : IModelBinder
[<Sealed>]
type TypeMatchModelBinder =
class
interface IModelBinder
end
Public NotInheritable Class TypeMatchModelBinder
Implements IModelBinder
Constructors
Name | Description | |
---|---|---|
TypeMatchModelBinder() | Initializes a new instance of the TypeMatchModelBinder class. |
Methods
Name | Description | |
---|---|---|
BindModel(HttpActionContext, ModelBindingContext) | Binds the model by using the specified execution context and binding context. |
|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
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.Binders Namespace
Return to top