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.9.3
Syntax
C#
public class AggregateElement : RuleElement

The AggregateElement type exposes the following members.

Properties
  NameDescription
Public propertyCustomFactoryType
The type of custom aggregator factory.
Public propertyElementType
Element type of this rule element.
(Overrides RuleElementElementType.)
Public propertyExports
Rule element declarations exported to the outer scope.
(Inherited from RuleElement.)
Public propertyExpressions
Expressions used by the aggregate.
Public propertyImports
Rule element declarations imported from the outer scope.
(Inherited from RuleElement.)
Public propertyName
Aggregate name.
Public propertyResultType
Type of the result that this rule element yields.
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 the default hash function.
(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