Table of Contents

Class AggregateElement

Namespace
NRules.RuleModel
Assembly
NRules.RuleModel.dll

Rule element that creates new facts (aggregates) based on matching facts it receives as input.

public class AggregateElement : RuleElement
Inheritance
AggregateElement
Inherited Members
Extension Methods

Fields

CollectName

public const string CollectName = "Collect"

Field Value

string

ElementSelectorName

public const string ElementSelectorName = "ElementSelector"

Field Value

string

FlattenName

public const string FlattenName = "Flatten"

Field Value

string

GroupByName

public const string GroupByName = "GroupBy"

Field Value

string

KeySelectorAscendingName

public const string KeySelectorAscendingName = "KeySelectorAscending"

Field Value

string

KeySelectorDescendingName

public const string KeySelectorDescendingName = "KeySelectorDescending"

Field Value

string

KeySelectorName

public const string KeySelectorName = "KeySelector"

Field Value

string

ProjectName

public const string ProjectName = "Project"

Field Value

string

SelectorName

public const string SelectorName = "Selector"

Field Value

string

Properties

CustomFactoryType

The type of custom aggregator factory.

public Type CustomFactoryType { get; }

Property Value

Type

ElementType

Element type of this rule element.

public override ElementType ElementType { get; }

Property Value

ElementType

Expressions

Expressions used by the aggregate.

public ExpressionCollection Expressions { get; }

Property Value

ExpressionCollection

Name

Aggregate name.

public string Name { get; }

Property Value

string

ResultType

Type of the result that this rule element yields.

public Type ResultType { get; }

Property Value

Type

Source

Fact source of the aggregate.

public PatternElement Source { get; }

Property Value

PatternElement