PolymorphicPropertyValidator<T>.

Validate(PropertyValidatorContext) Method

Summary

Validates the specified context.

Syntax

public override IEnumerable<ValidationFailure> Validate(PropertyValidatorContext context)

Parameters

Name Type Description
context PropertyValidatorContext The context.

Return Value

Type Description
IEnumerable<ValidationFailure> IEnumerable{ValidationFailure}.