RequiredAttributeAdapter.AddValidation(ClientModelValidationContext) 方法

定义

System.Object.AddValidation(Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientModelValidationContext)
public:
 override void AddValidation(Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ClientModelValidationContext ^ context);
public override void AddValidation (Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientModelValidationContext context);
override this.AddValidation : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientModelValidationContext -> unit
Public Overrides Sub AddValidation (context As ClientModelValidationContext)

参数

适用于