SimpleValueProvider 构造函数

定义

初始化 SimpleValueProvider 类的新实例。

重载

SimpleValueProvider(ModelBindingExecutionContext)

使用指定的执行上下文来初始化 SimpleValueProvider 类的新实例。

SimpleValueProvider(ModelBindingExecutionContext, CultureInfo)

使用指定的执行上下文和区域性信息初始化 SimpleValueProvider 类的新实例。

SimpleValueProvider(ModelBindingExecutionContext)

使用指定的执行上下文来初始化 SimpleValueProvider 类的新实例。

protected:
 SimpleValueProvider(System::Web::ModelBinding::ModelBindingExecutionContext ^ modelBindingExecutionContext);
protected SimpleValueProvider (System.Web.ModelBinding.ModelBindingExecutionContext modelBindingExecutionContext);
new System.Web.ModelBinding.SimpleValueProvider : System.Web.ModelBinding.ModelBindingExecutionContext -> System.Web.ModelBinding.SimpleValueProvider
Protected Sub New (modelBindingExecutionContext As ModelBindingExecutionContext)

参数

modelBindingExecutionContext
ModelBindingExecutionContext

该执行上下文。

适用于

SimpleValueProvider(ModelBindingExecutionContext, CultureInfo)

使用指定的执行上下文和区域性信息初始化 SimpleValueProvider 类的新实例。

protected:
 SimpleValueProvider(System::Web::ModelBinding::ModelBindingExecutionContext ^ modelBindingExecutionContext, System::Globalization::CultureInfo ^ cultureInfo);
protected SimpleValueProvider (System.Web.ModelBinding.ModelBindingExecutionContext modelBindingExecutionContext, System.Globalization.CultureInfo cultureInfo);
new System.Web.ModelBinding.SimpleValueProvider : System.Web.ModelBinding.ModelBindingExecutionContext * System.Globalization.CultureInfo -> System.Web.ModelBinding.SimpleValueProvider
Protected Sub New (modelBindingExecutionContext As ModelBindingExecutionContext, cultureInfo As CultureInfo)

参数

modelBindingExecutionContext
ModelBindingExecutionContext

该执行上下文。

cultureInfo
CultureInfo

区域性信息。

适用于