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)

参数

实现

适用于