Table of Contents

Interface IAggregateExpression

Namespace
NRules.Aggregators
Assembly
NRules.dll

Expression used by an aggregator, compiled to an executable form.

public interface IAggregateExpression

Properties

Name

Name of the aggregate expression.

string Name { get; }

Property Value

string

Methods

Invoke(AggregationContext, ITuple, IFact)

Invokes the expression with the given inputs.

object Invoke(AggregationContext context, ITuple tuple, IFact fact)

Parameters

context AggregationContext

Aggregation context.

tuple ITuple

Partial match up to the aggregate element.

fact IFact

Fact being processed by the aggregate element.

Returns

object

Result of the expression.