共用方式為


IClientModelValidatorProvider.CreateValidators 方法

定義

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

public:
 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
Public Sub CreateValidators (context As ClientValidatorProviderContext)

參數

context
ClientValidatorProviderContext

與此 ClientModelValidationContext 呼叫相關聯的 。

適用於