IValidator.Validate(ValidationContext) IValidator.Validate(ValidationContext) Method

Definition

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Evaluates the condition it checks and updates the validation context.

public System.ComponentModel.DataAnnotations.ValidationResult Validate (System.ComponentModel.DataAnnotations.ValidationContext validationContext);
abstract member Validate : System.ComponentModel.DataAnnotations.ValidationContext -> System.ComponentModel.DataAnnotations.ValidationResult
Parameters
validationContext
ValidationContext ValidationContext

The validation context.

Returns

The condition it checks and updates the validation context.

Applies to