The Portrate Interview Engine

LogicalANDRule.Evaluate Method 

Implements a short-circuited AND operator where each display rule, as they appear in the configuration, is evaluated for displayability. If any one of them is not displayable, then false is returned. If the context is NULL, then TRUE is returned.

[Visual Basic]
Overrides Public Function Evaluate( _ 
   ByVal ctx As DataContext _ 
) _
    Implements ILogicalRule.Evaluate As Boolean
[C#]
public override bool Evaluate(
   DataContext ctx
);
[C++]
public: bool Evaluate(
   DataContext* ctx
);
[JScript]
public override function Evaluate(
   DataContext ctx
): bool;

Parameters

ctx
The current data context

Return Value

True if all nested rules evaluate to true, and false otherwise.

Implements

ILogicalRule.Evaluate

See Also

LogicalANDRule Class | Portrate.Interview.Model.Rules Namespace