ModelValidatorProviderCollection Constructors

Definition

Overloads

ModelValidatorProviderCollection()

Initializes a new instance of the ModelValidatorProviderCollection class.

ModelValidatorProviderCollection(IList<ModelValidatorProvider>)

Initializes a new instance of the ModelValidatorProviderCollection class using a list of model-validation providers.

ModelValidatorProviderCollection()

Initializes a new instance of the ModelValidatorProviderCollection class.

public ModelValidatorProviderCollection ();
Public Sub New ()

ModelValidatorProviderCollection(IList<ModelValidatorProvider>)

Initializes a new instance of the ModelValidatorProviderCollection class using a list of model-validation providers.

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))

Parameters

list
IList<ModelValidatorProvider>

A list of model-validation providers.

Applies to