C# 클래스 Tortuga.Chain.AuditRules.ColumnRule

This is the base class for rules that affect a single column.
상속: AuditRule
파일 보기 프로젝트 열기: docevaad/Chain

공개 메소드들

메소드 설명
GenerateValue ( object argumentValue, object userValue, object currentValue ) : object

Generates the value to be used for the operation.

보호된 메소드들

메소드 설명
ColumnRule ( string columnName, OperationTypes appliesWhen ) : System

Initializes a new instance of the ColumnRule class.

메소드 상세

ColumnRule() 보호된 메소드

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.
리턴 System

GenerateValue() 공개 추상적인 메소드

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.
리턴 object