Table of Contents

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

description string

Human-readable description of the node, e.g. "Customer.Age GreaterThan 18" for a leaf or "AND" for a group.

passed bool?

Whether the node passed, or null if it was never evaluated (short-circuited).

children IReadOnlyList<ConditionTraceNode>

Child node traces for groups; empty for leaves.

Exceptions

ArgumentException

description is null or empty.