Class RuleTrace
- Namespace
- RuleWright.Core
- Assembly
- RuleWright.Core.dll
The trace of a single rule within an evaluation: whether it fired, whether it was skipped, and the per-node condition results.
public sealed class RuleTrace
- Inheritance
-
RuleTrace
- Inherited Members
Constructors
- RuleTrace(string, bool, RuleSkipReason, ConditionTraceNode?)
Creates a rule trace entry, recording why the rule was skipped when it was.
- RuleTrace(string, bool, bool, ConditionTraceNode?)
Creates a rule trace entry.
Properties
- Condition
The condition trace tree, or null when the rule was skipped.
- Fired
Whether the rule's condition passed.
- RuleId
The rule's id.
- SkipReason
Why the rule was never evaluated — Disabled (the author turned it off) or StoppedAfterMatch (evaluation had already finished) — or None when it was evaluated.
- Skipped
Whether the rule was never evaluated; see SkipReason for why.