Share via


TypeMatchModelBinderProvider Class

 

Provides a model binder for a model that does not require type conversion.

Namespace:   Microsoft.Web.Mvc.ModelBinding
Assembly:  Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Web.Mvc.ModelBinding.ModelBinderProvider
    Microsoft.Web.Mvc.ModelBinding.TypeMatchModelBinderProvider

Syntax

[ModelBinderProviderOptionsAttribute(FrontOfList = true)]
public sealed class TypeMatchModelBinderProvider : ModelBinderProvider
[ModelBinderProviderOptionsAttribute(FrontOfList = true)]
public ref class TypeMatchModelBinderProvider sealed : ModelBinderProvider
[<Sealed>]
[<ModelBinderProviderOptionsAttribute(FrontOfList = true)>]
type TypeMatchModelBinderProvider = 
    class
        inherit ModelBinderProvider
    end
<ModelBinderProviderOptionsAttribute(FrontOfList := True)>
Public NotInheritable Class TypeMatchModelBinderProvider
    Inherits ModelBinderProvider

Constructors

Name Description
System_CAPS_pubmethod TypeMatchModelBinderProvider()

Initializes a new instance of the TypeMatchModelBinderProvider class.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetBinder(ControllerContext, ExtensibleModelBindingContext)

Returns a model binder for a model that does not require type conversion.(Overrides ModelBinderProvider.GetBinder(ControllerContext, ExtensibleModelBindingContext).)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod 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

Microsoft.Web.Mvc.ModelBinding Namespace

Return to top