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)

new : 
        list:IList<ModelValidatorProvider> -> ModelValidatorProviderCollection

Parameters

list
Type: System.Collections.Generic.IList(ModelValidatorProvider)

A list of model-validation providers.

Show: