The Portrate Interview Engine

LogicalNOTRule.Evaluate Method 

Implements the NOT operator where 'true' is returned if all of the constituents returns false, and vice versa. The logic analysis is short circuited, so the first rule that returns false stops the evaluation of other child rules.

[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 any nested rules evaluate to true, and false otherwise.

Implements

ILogicalRule.Evaluate

See Also

LogicalNOTRule Class | Portrate.Interview.Model.Rules Namespace