C# Class Tortuga.Chain.AuditRules.ValidateWithDataErrorInfo

When this rule is in effect, objects that implement IDataErrorInfo will be checked.
Inheritance: ValidationRule
Afficher le fichier Open project: docevaad/Chain

Méthodes publiques

Méthode Description
CheckValue ( object argumentValue ) : void

Checks the value for validation errors.

ValidateWithDataErrorInfo ( OperationTypes appliesWhen ) : System

Initializes a new instance of the ValidateWithDataErrorInfo class.

Méthodes protégées

Méthode Description
CheckValueCore ( IDataErrorInfo validation ) : void

Checks the value core.

Method Details

CheckValue() public méthode

Checks the value for validation errors.
public CheckValue ( object argumentValue ) : void
argumentValue object The argument value.
Résultat void

CheckValueCore() protected static méthode

Checks the value core.
protected static CheckValueCore ( IDataErrorInfo validation ) : void
validation IDataErrorInfo The validation.
Résultat void

ValidateWithDataErrorInfo() public méthode

Initializes a new instance of the ValidateWithDataErrorInfo class.
appliesWhen;appliesWhen may only be a combination of Insert or Update
public ValidateWithDataErrorInfo ( OperationTypes appliesWhen ) : System
appliesWhen OperationTypes The rule applies when.
Résultat System