ModelValidatorProviderCollection Constructor (IList<ModelValidatorProvider>)
Initializes a new instance of the ModelValidatorProviderCollection class using a list of model-validation providers.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Sub New ( _
list As IList(Of ModelValidatorProvider) _
)
public ModelValidatorProviderCollection(
IList<ModelValidatorProvider> list
)
public:
ModelValidatorProviderCollection(
IList<ModelValidatorProvider^>^ list
)
Parameters
- list
Type: System.Collections.Generic.IList<ModelValidatorProvider>
A list of model-validation providers.
See Also
Reference
ModelValidatorProviderCollection Class