ModelValidatorProviderCollection 构造函数

定义

重载

ModelValidatorProviderCollection()

初始化 ModelValidatorProviderCollection 类的新实例。

ModelValidatorProviderCollection(IList<ModelValidatorProvider>)

使用模型验证提供程序的列表初始化 类的新实例 ModelValidatorProviderCollection

ModelValidatorProviderCollection()

初始化 ModelValidatorProviderCollection 类的新实例。

public ModelValidatorProviderCollection ();
Public Sub New ()

适用于

ModelValidatorProviderCollection(IList<ModelValidatorProvider>)

使用模型验证提供程序的列表初始化 类的新实例 ModelValidatorProviderCollection

public ModelValidatorProviderCollection (System.Collections.Generic.IList<System.Web.Mvc.ModelValidatorProvider> list);
new System.Web.Mvc.ModelValidatorProviderCollection : System.Collections.Generic.IList<System.Web.Mvc.ModelValidatorProvider> -> System.Web.Mvc.ModelValidatorProviderCollection
Public Sub New (list As IList(Of ModelValidatorProvider))

参数

list
IList<ModelValidatorProvider>

模型验证提供程序的列表。

适用于