Table of Contents

Class PatternElement

Namespace
NRules.RuleModel
Assembly
NRules.RuleModel.dll

Rule element that represents a pattern that matches facts.

public class PatternElement : RuleElement
Inheritance
PatternElement
Inherited Members
Extension Methods

Fields

ConditionName

public const string ConditionName = "Condition"

Field Value

string

Properties

Declaration

Declaration that references the pattern.

public Declaration Declaration { get; }

Property Value

Declaration

ElementType

Element type of this rule element.

public override ElementType ElementType { get; }

Property Value

ElementType

Expressions

Expressions used by the pattern to match elements.

public ExpressionCollection Expressions { get; }

Property Value

ExpressionCollection

Source

Optional pattern source element.

public RuleElement Source { get; }

Property Value

RuleElement

ValueType

Type of the values that the pattern matches.

public Type ValueType { get; }

Property Value

Type