C# 클래스 Habanero.BO.Rules.InterPropRule

This Rule is used for the Common Scenario where the One properties Validity is based on another Properties Value. E.g. DisposalDate must be Greater Than AcquisitionDate In the above case the Rule will be on the Disposal Date. The other Prop will be the AcquisitionDate Prop and the ComparisonOperator Will be GreaterThan
상속: IBusinessObjectRule
파일 보기 프로젝트 열기: Chillisoft/habanero 1 사용 예제들

공개 메소드들

메소드 설명
InterPropRule ( IPropDef propLeft, ComparisonOperator comparisonOperator, IPropDef propRight ) : System

IsValid ( ) : bool

This is not implemented for InterPropRules since it is obsolete.

IsValid ( IBusinessObject bo ) : bool

Determines whether the Expression LeftProp ComparisonOperator RightProp is true or false.

보호된 메소드들

메소드 설명
InterPropRule ( ComparisonOperator comparisonOperator ) : System

Constructor that just sets the comparison operator.

메소드 상세

InterPropRule() 보호된 메소드

Constructor that just sets the comparison operator.
protected InterPropRule ( ComparisonOperator comparisonOperator ) : System
comparisonOperator ComparisonOperator
리턴 System

InterPropRule() 공개 메소드

public InterPropRule ( IPropDef propLeft, ComparisonOperator comparisonOperator, IPropDef propRight ) : System
propLeft IPropDef
comparisonOperator ComparisonOperator
propRight IPropDef
리턴 System

IsValid() 공개 메소드

This is not implemented for InterPropRules since it is obsolete.
public IsValid ( ) : bool
리턴 bool

IsValid() 공개 메소드

Determines whether the Expression LeftProp ComparisonOperator RightProp is true or false.
public IsValid ( IBusinessObject bo ) : bool
bo IBusinessObject
리턴 bool