CompositeModelValidatorProvider Class¶
Summary¶
Aggregate of [Microsoft.AspNet.Mvc.ModelBinding.Validation.IModelValidatorProvider]()s that delegates to its underlying providers.
Constructors¶
-
CompositeModelValidatorProvider
(System.Collections.Generic.IEnumerable<Microsoft.AspNet.Mvc.ModelBinding.Validation.IModelValidatorProvider>)¶ Initializes a new instance of [Microsoft.AspNet.Mvc.ModelBinding.Validation.CompositeModelValidatorProvider](Microsoft.AspNet.Mvc.ModelBinding.Validation.CompositeModelValidatorProvider.yml).
Arguments: - providers (System.Collections.Generic.IEnumerable{Microsoft.AspNet.Mvc.ModelBinding.Validation.IModelValidatorProvider}) – A collection of [Microsoft.AspNet.Mvc.ModelBinding.Validation.IModelValidatorProvider]() instances.
public CompositeModelValidatorProvider(IEnumerable<IModelValidatorProvider> providers)
-
Properties¶
-
ValidatorProviders
()¶ Gets the list of [Microsoft.AspNet.Mvc.ModelBinding.Validation.IModelValidatorProvider]() instances.
Return type: System.Collections.Generic.IReadOnlyList{Microsoft.AspNet.Mvc.ModelBinding.Validation.IModelValidatorProvider} public IReadOnlyList<IModelValidatorProvider> ValidatorProviders { get; }
-