SimpleModelBinderProvider Constructor
Initializes a new instance of the SimpleModelBinderProvider class.
Namespace: Microsoft.Web.Mvc.ModelBinding
Assembly: Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)
Overload List
Name | Description | |
---|---|---|
![]() |
SimpleModelBinderProvider(Type, Func<IExtensibleModelBinder>) | Initializes a new instance of the SimpleModelBinderProvider class by using the specified model type and the model binder factory. |
![]() |
SimpleModelBinderProvider(Type, IExtensibleModelBinder) | Initializes a new instance of the SimpleModelBinderProvider class by using the specified model type and the model binder. |
See Also
SimpleModelBinderProvider Class
Microsoft.Web.Mvc.ModelBinding Namespace
Return to top
SimpleModelBinderProvider Constructor (Type, Func<IExtensibleModelBinder>)
Initializes a new instance of the SimpleModelBinderProvider class by using the specified model type and the model binder factory.
Syntax
public SimpleModelBinderProvider(
Type modelType,
Func<IExtensibleModelBinder> modelBinderFactory
)
public:
SimpleModelBinderProvider(
Type^ modelType,
Func<IExtensibleModelBinder^>^ modelBinderFactory
)
new :
modelType:Type *
modelBinderFactory:Func<IExtensibleModelBinder> -> SimpleModelBinderProvider
Public Sub New (
modelType As Type,
modelBinderFactory As Func(Of IExtensibleModelBinder)
)
Parameters
modelType
Type: System.TypeThe model type.
modelBinderFactory
Type: System.Func<IExtensibleModelBinder>The model binder factory.
Return to top
SimpleModelBinderProvider Constructor (Type, IExtensibleModelBinder)
Initializes a new instance of the SimpleModelBinderProvider class by using the specified model type and the model binder.
Syntax
public SimpleModelBinderProvider(
Type modelType,
IExtensibleModelBinder modelBinder
)
public:
SimpleModelBinderProvider(
Type^ modelType,
IExtensibleModelBinder^ modelBinder
)
new :
modelType:Type *
modelBinder:IExtensibleModelBinder -> SimpleModelBinderProvider
Public Sub New (
modelType As Type,
modelBinder As IExtensibleModelBinder
)
Parameters
modelType
Type: System.TypeThe model type.
modelBinder
Type: Microsoft.Web.Mvc.ModelBinding.IExtensibleModelBinderThe model binder.
Return to top