Click or drag to resize

AggregateElement Class

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

Namespace:  NRules.RuleModel
Assembly:  NRules.RuleModel (in NRules.RuleModel.dll) Version: 0.8.4
Syntax
C#
public class AggregateElement : PatternSourceElement

The AggregateElement type exposes the following members.

Properties
  NameDescription
Public propertyCustomFactoryType
The type of custom aggregator factory.
Public propertyDeclarations
Declarations visible from this rule element.
(Inherited from RuleElement.)
Public propertyExpressionMap
Expressions used by the aggregate.
Public propertyName
Aggregate name.
Public propertyResultType
Type of the result that this rule element yields.
(Inherited from PatternSourceElement.)
Public propertySource
Fact source of the aggregate.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
Extension Methods
  NameDescription
Public Extension MethodMatch
Matches a rule element to an appropriate action based on the concrete type of the element. Type-safe implementation of discriminated union for rule elements.
(Defined by RuleElementExtensions.)
Top
See Also