CompositeModelValidatorProvider(IList<IModelValidatorProvider>) 构造函数

定义

初始化 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))

参数

providers
IList<IModelValidatorProvider>

IModelValidatorProvider 实例的集合。

适用于