Table of Contents

Method Evaluate

Namespace
RuleWright.Core
Assembly
RuleWright.Core.dll

Evaluate(object?, object?)

Evaluates the condition.

bool Evaluate(object? fieldValue, object? value)

Parameters

fieldValue object

The resolved (boxed) field value when the leaf specifies a field; otherwise the whole fact object.

value object

The leaf's constant value operand, or null if absent.

Returns

bool

Whether the condition passes.