C# Class Tortuga.Chain.AuditRules.ValidationRule

Base class for validation style rules.
Inheritance: AuditRule
Afficher le fichier Open project: docevaad/Chain

Méthodes publiques

Méthode Description
CheckValue ( object argumentValue ) : void

Checks the value for validation errors.

Méthodes protégées

Méthode Description
ValidationRule ( OperationTypes appliesWhen ) : System.ComponentModel.DataAnnotations

Initializes a new instance of the ValidationRule class.

Method Details

CheckValue() public abstract méthode

Checks the value for validation errors.
A ValidationException will be thrown if the object contains validation errors.
public abstract CheckValue ( object argumentValue ) : void
argumentValue object The argument value.
Résultat void

ValidationRule() protected méthode

Initializes a new instance of the ValidationRule class.
protected ValidationRule ( OperationTypes appliesWhen ) : System.ComponentModel.DataAnnotations
appliesWhen OperationTypes The rule applies when.
Résultat System.ComponentModel.DataAnnotations