C# Class Tortuga.Chain.AuditRules.ColumnRule

This is the base class for rules that affect a single column.
Inheritance: AuditRule
Afficher le fichier Open project: docevaad/Chain

Méthodes publiques

Méthode Description
GenerateValue ( object argumentValue, object userValue, object currentValue ) : object

Generates the value to be used for the operation.

Méthodes protégées

Méthode Description
ColumnRule ( string columnName, OperationTypes appliesWhen ) : System

Initializes a new instance of the ColumnRule class.

Method Details

ColumnRule() protected méthode

Initializes a new instance of the ColumnRule class.
protected ColumnRule ( string columnName, OperationTypes appliesWhen ) : System
columnName string Name of the column.
appliesWhen OperationTypes The applies when.
Résultat System

GenerateValue() public abstract méthode

Generates the value to be used for the operation.
public abstract GenerateValue ( object argumentValue, object userValue, object currentValue ) : object
argumentValue object The argument value.
userValue object The user value.
currentValue object The current value. Used when the rule is conditionally applied.
Résultat object