TypeMatchModelBinder Class

Maps a browser request to a data object. This class is used when model binding does not require type conversion.

Inheritance Hierarchy

System.Object
  System.Web.Http.ModelBinding.Binders.TypeMatchModelBinder

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

Syntax

'Declaration
Public NotInheritable Class TypeMatchModelBinder _
    Implements IModelBinder
'Usage
Dim instance As TypeMatchModelBinder
public sealed class TypeMatchModelBinder : IModelBinder
public ref class TypeMatchModelBinder sealed : IModelBinder
[<SealedAttribute>]
type TypeMatchModelBinder =  
    class
        interface IModelBinder
    end
public final class TypeMatchModelBinder implements IModelBinder

The TypeMatchModelBinder type exposes the following members.

Constructors

  Name Description
Public method TypeMatchModelBinder Initializes a new instance of the TypeMatchModelBinder class.

Top

Methods

  Name Description
Public method BindModel Binds the model by using the specified execution context and binding context.
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

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

Reference

System.Web.Http.ModelBinding.Binders Namespace