C# Class Tortuga.Chain.AuditRules.ColumnRule

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

Public Methods

Method Description
GenerateValue ( object argumentValue, object userValue, object currentValue ) : object

Generates the value to be used for the operation.

Protected Methods

Method Description
ColumnRule ( string columnName, OperationTypes appliesWhen ) : System

Initializes a new instance of the ColumnRule class.

Method Details

ColumnRule() protected method

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.
return System

GenerateValue() public abstract method

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.
return object