C# Class FluentValidation.Validators.AsyncValidatorBase

Inheritance: PropertyValidator
Afficher le fichier Open project: JeremySkinner/FluentValidation

Méthodes protégées

Méthode Description
AsyncValidatorBase ( string errorMessage ) : System
AsyncValidatorBase ( string errorMessageResourceName, Type errorMessageResourceType ) : System
IsValid ( PropertyValidatorContext context ) : bool
IsValidAsync ( PropertyValidatorContext context, CancellationToken cancellation ) : Task

Method Details

AsyncValidatorBase() protected méthode

protected AsyncValidatorBase ( string errorMessage ) : System
errorMessage string
Résultat System

AsyncValidatorBase() protected méthode

protected AsyncValidatorBase ( string errorMessageResourceName, Type errorMessageResourceType ) : System
errorMessageResourceName string
errorMessageResourceType System.Type
Résultat System

IsValid() protected méthode

protected IsValid ( PropertyValidatorContext context ) : bool
context PropertyValidatorContext
Résultat bool

IsValidAsync() protected abstract méthode

protected abstract IsValidAsync ( PropertyValidatorContext context, CancellationToken cancellation ) : Task
context PropertyValidatorContext
cancellation System.Threading.CancellationToken
Résultat Task