Share via


IClientModelValidator.AddValidation(ClientModelValidationContext) Method

Definition

Called to add client-side model validation.

public:
 void AddValidation(Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ClientModelValidationContext ^ context);
public void AddValidation (Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientModelValidationContext context);
abstract member AddValidation : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientModelValidationContext -> unit
Public Sub AddValidation (context As ClientModelValidationContext)

Parameters

Applies to