Share via


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
System_CAPS_pubmethod GenericModelBinderProvider(Type, Func<Type[], IExtensibleModelBinder>)

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

System_CAPS_pubmethod GenericModelBinderProvider(Type, IExtensibleModelBinder)

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

System_CAPS_pubmethod 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

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

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

  • modelBinderType
    Type: System.Type

    The model binder type.

Return to top