編輯

共用方式為


ModelValidatorProviderCollection Constructors

Definition

Initializes a new instance of the ModelValidatorProviderCollection class.

Overloads

ModelValidatorProviderCollection()

Initializes a new instance of the ModelValidatorProviderCollection class.

ModelValidatorProviderCollection(IList<ModelValidatorProvider>)

Initializes a new instance of the ModelValidatorProviderCollection class using an existing collection.

ModelValidatorProviderCollection()

Initializes a new instance of the ModelValidatorProviderCollection class.

public:
 ModelValidatorProviderCollection();
public ModelValidatorProviderCollection ();
Public Sub New ()

Applies to

ModelValidatorProviderCollection(IList<ModelValidatorProvider>)

Initializes a new instance of the ModelValidatorProviderCollection class using an existing collection.

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

Parameters

list
IList<ModelValidatorProvider>

The collection of validator providers.

Applies to