Constructor ConditionTraceNode
- Namespace
- RuleWright.Core
- Assembly
- RuleWright.Core.dll
ConditionTraceNode(string, bool?, IReadOnlyList<ConditionTraceNode>?)
Creates a condition trace node.
public ConditionTraceNode(string description, bool? passed, IReadOnlyList<ConditionTraceNode>? children = null)
Parameters
descriptionstringHuman-readable description of the node, e.g.
"Customer.Age GreaterThan 18"for a leaf or"AND"for a group.passedbool?Whether the node passed, or null if it was never evaluated (short-circuited).
childrenIReadOnlyList<ConditionTraceNode>Child node traces for groups; empty for leaves.
Exceptions
- ArgumentException
descriptionis null or empty.