GenericModelBinderProvider Konstruktoren

Definition

Initialisiert eine neue Instanz der GenericModelBinderProvider-Klasse.

Überlädt

Name Beschreibung
GenericModelBinderProvider(Type, Func<Type[],IModelBinder>)

Initialisiert eine neue Instanz der GenericModelBinderProvider Klasse mithilfe des angegebenen Modelltyps und der Modellordnerfabrik.

GenericModelBinderProvider(Type, Type)

Initialisiert eine neue Instanz der GenericModelBinderProvider Klasse mithilfe des angegebenen Modelltyps und des Modellordnertyps.

GenericModelBinderProvider(Type, IModelBinder)

Initialisiert eine neue Instanz der GenericModelBinderProvider Mithilfe des angegebenen Modelltyps und Modellordners.

GenericModelBinderProvider(Type, Func<Type[],IModelBinder>)

Initialisiert eine neue Instanz der GenericModelBinderProvider Klasse mithilfe des angegebenen Modelltyps und der Modellordnerfabrik.

public:
 GenericModelBinderProvider(Type ^ modelType, Func<cli::array <Type ^> ^, System::Web::ModelBinding::IModelBinder ^> ^ modelBinderFactory);
public GenericModelBinderProvider(Type modelType, Func<Type[],System.Web.ModelBinding.IModelBinder> modelBinderFactory);
new System.Web.ModelBinding.GenericModelBinderProvider : Type * Func<Type[], System.Web.ModelBinding.IModelBinder> -> System.Web.ModelBinding.GenericModelBinderProvider
Public Sub New (modelType As Type, modelBinderFactory As Func(Of Type(), IModelBinder))

Parameter

modelType
Type

Der Modelltyp.

modelBinderFactory
Func<Type[],IModelBinder>

Die Modellbinderfabrik.

Ausnahmen

modelType oder modelBinderFactory ist null.

Gilt für:

GenericModelBinderProvider(Type, Type)

Initialisiert eine neue Instanz der GenericModelBinderProvider Klasse mithilfe des angegebenen Modelltyps und des Modellordnertyps.

public:
 GenericModelBinderProvider(Type ^ modelType, Type ^ modelBinderType);
public GenericModelBinderProvider(Type modelType, Type modelBinderType);
new System.Web.ModelBinding.GenericModelBinderProvider : Type * Type -> System.Web.ModelBinding.GenericModelBinderProvider
Public Sub New (modelType As Type, modelBinderType As Type)

Parameter

modelType
Type

Der Modelltyp.

modelBinderType
Type

Der Modellbindertyp.

Ausnahmen

modelType oder modelBinderType ist null.

Gilt für:

GenericModelBinderProvider(Type, IModelBinder)

Initialisiert eine neue Instanz der GenericModelBinderProvider Mithilfe des angegebenen Modelltyps und Modellordners.

public:
 GenericModelBinderProvider(Type ^ modelType, System::Web::ModelBinding::IModelBinder ^ modelBinder);
public GenericModelBinderProvider(Type modelType, System.Web.ModelBinding.IModelBinder modelBinder);
new System.Web.ModelBinding.GenericModelBinderProvider : Type * System.Web.ModelBinding.IModelBinder -> System.Web.ModelBinding.GenericModelBinderProvider
Public Sub New (modelType As Type, modelBinder As IModelBinder)

Parameter

modelType
Type

Der Modelltyp.

modelBinder
IModelBinder

Der Modellbinder.

Ausnahmen

modelType oder modelBinder ist null.

Gilt für: