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
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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