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)

public SimpleModelBinderProvider(
	Type modelType,
	Func<IModelBinder> modelBinderFactory
)

Parameters

modelType
Type: System.Type

The model type.

modelBinderFactory
Type: System.Func<IModelBinder>

The model binder factory.

Show: