Table of Contents

Constructor ConditionGroup

Namespace
RuleWright.Core
Assembly
RuleWright.Core.dll

ConditionGroup(LogicalOperator, IEnumerable<ConditionNode>)

Creates a condition group.

public ConditionGroup(LogicalOperator @operator, IEnumerable<ConditionNode> children)

Parameters

operator LogicalOperator

The logical combinator.

children IEnumerable<ConditionNode>

The child conditions; at least one, exactly one for Not.

Exceptions

ArgumentNullException

children is null or contains null.

ArgumentException

children is empty, or a NOT group does not have exactly one child.