C# Class FluentValidation.Validators.AsyncValidatorBase

Inheritance: PropertyValidator
ファイルを表示 Open project: JeremySkinner/FluentValidation

Protected Methods

Method 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 method

protected AsyncValidatorBase ( string errorMessage ) : System
errorMessage string
return System

AsyncValidatorBase() protected method

protected AsyncValidatorBase ( string errorMessageResourceName, Type errorMessageResourceType ) : System
errorMessageResourceName string
errorMessageResourceType System.Type
return System

IsValid() protected method

protected IsValid ( PropertyValidatorContext context ) : bool
context PropertyValidatorContext
return bool

IsValidAsync() protected abstract method

protected abstract IsValidAsync ( PropertyValidatorContext context, CancellationToken cancellation ) : Task
context PropertyValidatorContext
cancellation System.Threading.CancellationToken
return Task