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