共用方式為


CompositeModelValidatorProvider.CreateValidators 方法

定義

建立 的 ModelMetadata 驗證程式。

public:
 virtual void CreateValidators(Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ModelValidatorProviderContext ^ context);
public void CreateValidators (Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidatorProviderContext context);
abstract member CreateValidators : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidatorProviderContext -> unit
override this.CreateValidators : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidatorProviderContext -> unit
Public Sub CreateValidators (context As ModelValidatorProviderContext)

參數

實作

適用於