ClassAggregateFunction
Describes the supported aggregate functions available for LocalDataSourceProvider. PropertyAggregateDescriptionBase. PropertyAggregateDescription. LocalDataSourceProvider.
Definition
Namespace:Telerik.Pivot.Core.Aggregates
Assembly:Telerik.Pivot.Core.dll
Syntax:
[TypeConverter(typeof(AggregateFunctionConverter))]
[DataContract]
public abstract class AggregateFunction : SettingsNode, INotifyPropertyChanged, ISupportInitialize, IServiceProvider, IEditable, INamed
Inheritance: objectCloneableSettingsNodeAggregateFunction
Derived Classes:
Implements:
Inherited Members
Constructors
AggregateFunction()
Declaration
protected AggregateFunction()
Properties
DisplayName
Gets the display-friendly name.
Declaration
public abstract string DisplayName { get; }
Property Value
Implements
Methods
CreateAggregate(IAggregateContext)
Creates an AggregateValue supported by that AggregateFunction.
Declaration
protected virtual AggregateValue CreateAggregate(IAggregateContext context)
Parameters
context
AggregateContext containing information about AggregateValue usage.
Returns
An AggregateValue.
CreateAggregate(Type)
Creates an AggregateValue supported by that AggregateFunction.
Declaration
protected virtual AggregateValue CreateAggregate(Type dataType)
Parameters
dataType
Returns
An AggregateValue.
GetStringFormat(Type, string)
Gets a string format suitable to format the value of the AggregateValues produced by that AggregateFunction.