SimpleModelBinderProvider コンストラクター

定義

SimpleModelBinderProvider クラスの新しいインスタンスを初期化します。

オーバーロード

名前 説明
SimpleModelBinderProvider(Type, Func<IModelBinder>)

指定したモデル型とモデル バインダー ファクトリを使用して、 SimpleModelBinderProvider クラスの新しいインスタンスを初期化します。

SimpleModelBinderProvider(Type, IModelBinder)

指定したモデル型とモデル バインダーを使用して、 SimpleModelBinderProvider クラスの新しいインスタンスを初期化します。

SimpleModelBinderProvider(Type, Func<IModelBinder>)

指定したモデル型とモデル バインダー ファクトリを使用して、 SimpleModelBinderProvider クラスの新しいインスタンスを初期化します。

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

パラメーター

modelType
Type

モデルの種類。

modelBinderFactory
Func<IModelBinder>

モデル バインダー ファクトリ。

適用対象

SimpleModelBinderProvider(Type, IModelBinder)

指定したモデル型とモデル バインダーを使用して、 SimpleModelBinderProvider クラスの新しいインスタンスを初期化します。

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

パラメーター

modelType
Type

モデルの種類。

modelBinder
IModelBinder

モデル バインダー。

例外

modelTypeまたはmodelBinderパラメーターがnull

適用対象