Table of Contents

Class EvaluationOptions

Namespace
RuleWright.Core
Assembly
RuleWright.Core.dll

Per-evaluation options. Immutable once constructed, so the shared Default instance cannot be reconfigured out from under other callers — set values with an object initializer (new EvaluationOptions { EnableTrace = true }).

public sealed class EvaluationOptions
Inheritance
EvaluationOptions
Inherited Members

Constructors

EvaluationOptions()

Properties

Default

The default options: tracing off, evaluate all rules.

EnableTrace

When true, the result carries an EvaluationTrace recording which rules fired and which condition nodes passed or failed. Off by default; the untraced fast path has no tracing overhead.

StopOnFirstMatch

When true, evaluation stops after the first rule whose condition passes; remaining rules are reported in the trace with StoppedAfterMatch.