Click or drag to resize

AggregateExpressionExtensionsFindSingle Method

Get a single matching aggregate expression.

Namespace:  NRules.Aggregators
Assembly:  NRules (in NRules.dll) Version: 0.9.3
Syntax
C#
public static IAggregateExpression FindSingle(
	this IEnumerable<IAggregateExpression> expressions,
	string name
)

Parameters

expressions
Type: System.Collections.GenericIEnumerableIAggregateExpression
The list of aggregate expressions to search through.
name
Type: SystemString
Name of the aggregate expression to find.

Return Value

Type: IAggregateExpression

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableIAggregateExpression. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also