共用方式為


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 執行個體的集合。

適用於