Class
AggregateFunctionsGroup

The group aggregation functions and results

Definition

Namespace:Telerik.DataSource

Assembly:Telerik.DataSource.dll

Syntax:

cs-api-definition
[KnownType(typeof(AggregateFunctionsGroup))]
public class AggregateFunctionsGroup : Group, IGroup

Inheritance: objectGroupAggregateFunctionsGroup

Implements: IGroup

Inherited Members Group.HasSubgroupsGroup.MemberGroup.ItemCountGroup.SubgroupsGroup.ItemsGroup.Key

Constructors

AggregateFunctionsGroup()

Declaration

cs-api-definition
public AggregateFunctionsGroup()

Properties

AggregateFunctionsProjection

Gets or sets the aggregate functions projection for this group. This projection is used to generate aggregate functions results for this group.

Declaration

cs-api-definition
[JsonIgnore]
public object AggregateFunctionsProjection { get; set; }

Property Value

object

The aggregate functions projection.

Aggregates

Declaration

cs-api-definition
public IDictionary<string, object> Aggregates { get; }

Property Value

IDictionary<string, object>

Methods

GetAggregateResults(IEnumerable<AggregateFunction>)

Gets the aggregate results generated for the given aggregate functions.

Declaration

cs-api-definition
public AggregateResultCollection GetAggregateResults(IEnumerable<AggregateFunction> functions)

Parameters

functions

IEnumerable<AggregateFunction>

Returns

AggregateResultCollection

The aggregate results for the provided aggregate functions.

Exceptions

ArgumentNullException

functions is null.