Class
AggregateFunction<TElement, TResult>

Represents a class that allows a custom lambda expression to be executed over a sequence of items.

Definition

Namespace:Telerik.Windows.Data

Assembly:Telerik.Windows.Data.dll

Type Parameters:

TElement

The type of the elements in the sequence.

TResult

The type of the function result.

Syntax:

cs-api-definition
public class AggregateFunction<TElement, TResult> : AggregateFunction, INotifyPropertyChanged

Inheritance: objectAggregateFunctionAggregateFunction<TElement, TResult>

Implements: INotifyPropertyChanged

Inherited Members AggregateFunction.Merge(object, AggregateResultMergeAction, AggregateResult, QueryableCollectionViewGroup)AggregateFunction.GenerateFunctionName()AggregateFunction.OnPropertyChanged(string)AggregateFunction.CaptionAggregateFunction.FunctionNameAggregateFunction.ResultFormatStringAggregateFunction.PropertyChanged

Constructors

AggregateFunction()

Declaration

cs-api-definition
public AggregateFunction()

Properties

AggregationExpression

Gets or sets the aggregation expression.

Declaration

cs-api-definition
public Expression<Func<IEnumerable<TElement>, TResult>> AggregationExpression { get; set; }

Property Value

Expression<Func<IEnumerable<TElement>, TResult>>

The aggregation expression.

Methods

CreateAggregateExpression(Expression)

Creates the aggregate expression that is used for constructing expression tree that will calculate the aggregate result.

Declaration

cs-api-definition
public override Expression CreateAggregateExpression(Expression enumerableExpression)

Parameters

enumerableExpression

Expression

The grouping expression.

Returns

Expression

Overrides AggregateFunction.CreateAggregateExpression(Expression)