SimpleModelBinderProvider Constructor (Type, Func<IModelBinder>)

.NET Framework (current version)
 

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

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

new : 
        modelType:Type *
        modelBinderFactory:Func<IModelBinder> -> SimpleModelBinderProvider

Parameters

modelType
Type: System.Type

The model type.

modelBinderFactory
Type: System.Func<IModelBinder>

The model binder factory.

.NET Framework
Available since 4.5
Return to top
Show: