Click or drag to resize

IAggregatorAdd Method

Called by the rules engine when new facts enter corresponding aggregator.

Namespace:  NRules.Aggregators
Assembly:  NRules (in NRules.dll) Version: 0.9.3
Syntax
C#
IEnumerable<AggregationResult> Add(
	AggregationContext context,
	ITuple tuple,
	IEnumerable<IFact> facts
)

Parameters

context
Type: NRules.AggregatorsAggregationContext
Aggregation context.
tuple
Type: NRules.RuleModelITuple
Tuple containing preceding partial matches.
facts
Type: System.Collections.GenericIEnumerableIFact
New facts to add to the aggregate.

Return Value

Type: IEnumerableAggregationResult
Results of the operation on the aggregate, based on the added facts.
See Also