Defines the fluent interface for configuring aggregates for a given field.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class DataSourceAggregatesFactory
Inheritance: objectDataSourceAggregatesFactory
Inherited Members
Constructors
Initializes a new instance of the DataSourceAggregatesFactory class.
public DataSourceAggregatesFactory(ICollection<AggregateFunction> aggregates, string member, Type memberType)
Methods
Applies the Average aggregate function.
public DataSourceAggregatesFactory Average()
The DataSourceAggregatesFactory instance for method chaining.
Applies the Count aggregate function.
public DataSourceAggregatesFactory Count()
The DataSourceAggregatesFactory instance for method chaining.
Applies the Max aggregate function.
public DataSourceAggregatesFactory Max()
The DataSourceAggregatesFactory instance for method chaining.
Applies the Min aggregate function.
public DataSourceAggregatesFactory Min()
The DataSourceAggregatesFactory instance for method chaining.
Applies the Sum aggregate function.
public DataSourceAggregatesFactory Sum()
The DataSourceAggregatesFactory instance for method chaining.