Table of Contents

Class AccountExistsValidator<T, TProperty>

Namespace
Innova.Data.Validation
Assembly
Innova.Data.dll

Validator that checks if an account exists in Active Directory.

public class AccountExistsValidator<T, TProperty> : PropertyValidator<T, TProperty>, IPropertyValidator<T, TProperty>, IPropertyValidator

Type Parameters

T

The type of the object being validated.

TProperty

The type of the property being validated.

Inheritance
PropertyValidator<T, TProperty>
AccountExistsValidator<T, TProperty>
Implements
IPropertyValidator<T, TProperty>
IPropertyValidator

Properties

Name

Gets the name of the validator.

Methods

GetDefaultMessageTemplate(string)

Gets the default error message template.

IsValid(ValidationContext<T>, TProperty)

Determines whether the specified value is valid.