AverageFunction
Represents a function that returns the arithmetic mean of a set of arguments.
Definition
Namespace:Telerik.Windows.Data
Assembly:Telerik.Windows.Data.dll
Syntax:
public class AverageFunction : EnumerableSelectorAggregateFunction, INotifyPropertyChanged
Inheritance: objectAggregateFunctionEnumerableAggregateFunctionBaseEnumerableSelectorAggregateFunctionAverageFunction
Implements:
Inherited Members
Constructors
Initializes a new instance of the AverageFunction class.
public AverageFunction()
Properties
Gets the name of the aggregate method on the ExtensionMethodsType that will be used for aggregation.
protected override string AggregateMethodName { get; }
The name of the aggregate method that will be used.
Overrides:
Gets the the Average method name.
Methods
Merges the specified item into the aggregate result according to the specified action.
public override object Merge(object item, AggregateResultMergeAction mergeAction, AggregateResult originalAggregateResult, QueryableCollectionViewGroup group)
The item.
mergeActionAggregateResultMergeActionThe action.
originalAggregateResultAggregateResultThe original aggregate result.
groupQueryableCollectionViewGroupThe group which the item is being added to or removed from.
Returns:The new value of the aggregate result.
Overrides: