Share via


TypeConverterModelBinder Class

Maps a browser request to a data object. This type is used when model binding requires conversions using a .NET Framework type converter.

Inheritance Hierarchy

System.Object
  System.Web.Http.ModelBinding.Binders.TypeConverterModelBinder

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

Syntax

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

The TypeConverterModelBinder type exposes the following members.

Constructors

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

Top

Methods

  Name Description
Public method BindModel Binds the model by using the specified controller 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