GenericModelBinderProvider Class

 

Gets a model binder for a generic type.

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

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

[<Sealed>]
type GenericModelBinderProvider = 
    class
        inherit ModelBinderProvider
    end

NameDescription
System_CAPS_pubmethodGenericModelBinderProvider(Type, Func<Type[], IExtensibleModelBinder>)

Initializes a new instance of the GenericModelBinderProvider class by using the specified model type and model binder type.

System_CAPS_pubmethodGenericModelBinderProvider(Type, IExtensibleModelBinder)

Initializes a new instance of the GenericModelBinderProvider class by using the specified model type and model binder factory.

System_CAPS_pubmethodGenericModelBinderProvider(Type, Type)

Initializes a new instance of the GenericModelBinderProvider class by using the specified model type and model binder.

NameDescription
System_CAPS_pubpropertyModelType

Gets the type of the model.

System_CAPS_pubpropertySuppressPrefixCheck

Gets or sets a value that specifies whether the prefix check should be suppressed.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: