SimpleModelBinderProvider Constructor (Type, IModelBinder)

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

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

public SimpleModelBinderProvider(
	Type modelType,
	IModelBinder modelBinder
)

Parameters

modelType
Type: System.Type
The model type.
modelBinder
Type: System.Web.Http.ModelBinding.IModelBinder
The model binder.
Show: