共用方式為


CompositeClientModelValidatorProvider.CreateValidators 方法

定義

在 中 Results 更新 Validator ,以建立 的 IClientModelValidator 集合。

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

參數

context
ClientValidatorProviderContext

ClientModelValidationContext與這個呼叫相關聯的 。

實作

適用於