Share via


SimpleModelBinderProvider Constructor (Type, Func<IModelBinder>)

Initializes a new instance of the SimpleModelBinderProvider class.

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

Syntax

'Declaration
Public Sub New ( _
    modelType As Type, _
    modelBinderFactory As Func(Of IModelBinder) _
)
'Usage
Dim modelType As Type 
Dim modelBinderFactory As Func(Of IModelBinder)

Dim instance As New SimpleModelBinderProvider(modelType, _
    modelBinderFactory)
public SimpleModelBinderProvider(
    Type modelType,
    Func<IModelBinder> modelBinderFactory
)
public:
SimpleModelBinderProvider(
    Type^ modelType, 
    Func<IModelBinder^>^ modelBinderFactory
)
new : 
        modelType:Type * 
        modelBinderFactory:Func<IModelBinder> -> SimpleModelBinderProvider
public function SimpleModelBinderProvider(
    modelType : Type, 
    modelBinderFactory : Func<IModelBinder>
)

Parameters

See Also

Reference

SimpleModelBinderProvider Class

SimpleModelBinderProvider Overload

System.Web.Http.ModelBinding.Binders Namespace