Class
EnumerableAggregateFunctionBase

Base class for all aggregate functions that will use extension methods in Enumerable for aggregation.

Definition

Constructors

EnumerableAggregateFunctionBase()

Declaration

cs-api-definition
protected EnumerableAggregateFunctionBase()

Properties

AggregateMethodName

Gets the name of the aggregate method on the ExtensionMethodsType that will be used for aggregation.

Declaration

cs-api-definition
protected abstract string AggregateMethodName { get; }

Property Value

string

The name of the aggregate method that will be used.

ExtensionMethodsType

Gets the type of the extension methods that holds the extension methods for aggregation. For example Enumerable or Queryable.

Declaration

cs-api-definition
protected virtual Type ExtensionMethodsType { get; }

Property Value

Type

The type of that holds the extension methods. The default value is Enumerable.

Methods

GenerateFunctionName()

Generates default name for this function using this type's name.

Declaration

cs-api-definition
protected override string GenerateFunctionName()

Returns

string

Function name generated with the following pattern: {GetType().Name}_{GetHashCode()}.

Overrides AggregateFunction.GenerateFunctionName()