Table of Contents

Interface IRuleDefinition

Namespace
NRules.RuleModel
Assembly
NRules.RuleModel.dll

Production rule definition in the canonical rule model.

public interface IRuleDefinition

Properties

DependencyGroup

Rule's dependencies.

DependencyGroupElement DependencyGroup { get; }

Property Value

DependencyGroupElement

Description

Rule description.

string Description { get; }

Property Value

string

FilterGroup

Rule's filters, that determine whether rule's match triggers actions.

FilterGroupElement FilterGroup { get; }

Property Value

FilterGroupElement

LeftHandSide

Rule left-hand side (conditions).

GroupElement LeftHandSide { get; }

Property Value

GroupElement

Name

Rule name.

string Name { get; }

Property Value

string

Priority

Rule priority.

int Priority { get; }

Property Value

int

Properties

Properties attached to the rule.

PropertyMap Properties { get; }

Property Value

PropertyMap

Repeatability

Rule repeatability.

RuleRepeatability Repeatability { get; }

Property Value

RuleRepeatability

RightHandSide

Rule right-hand side (actions).

ActionGroupElement RightHandSide { get; }

Property Value

ActionGroupElement

Tags

Tags applied to the rule.

IEnumerable<string> Tags { get; }

Property Value

IEnumerable<string>