Table of Contents

Class FiredRule

Namespace
RuleWright.Core
Assembly
RuleWright.Core.dll

A rule that contributed outputs during an evaluation — either because its condition passed (Then) or because it did not and the rule has an else branch (Else) — with the outputs that branch produced.

public sealed class FiredRule
Inheritance
FiredRule
Inherited Members

Constructors

FiredRule(string, IReadOnlyDictionary<string, object?>, RuleBranch)

Creates a fired-rule record.

Properties

Branch

Whether the rule fired its actions (condition matched) or its else actions (condition did not match).

Outputs

The outputs produced by the rule's actions (target → value).

RuleId

The id of the rule that fired.