ModelValidatorProviderCollection Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 ()
Applies to
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.