Dela via


CompositeModelValidatorProvider(IList<IModelValidatorProvider>) Constructor

Definition

Initializes a new instance of CompositeModelValidatorProvider.

public:
 CompositeModelValidatorProvider(System::Collections::Generic::IList<Microsoft::AspNetCore::Mvc::ModelBinding::Validation::IModelValidatorProvider ^> ^ providers);
public CompositeModelValidatorProvider (System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidatorProvider> providers);
new Microsoft.AspNetCore.Mvc.ModelBinding.Validation.CompositeModelValidatorProvider : System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidatorProvider> -> Microsoft.AspNetCore.Mvc.ModelBinding.Validation.CompositeModelValidatorProvider
Public Sub New (providers As IList(Of IModelValidatorProvider))

Parameters

providers
IList<IModelValidatorProvider>

A collection of IModelValidatorProvider instances.

Applies to