ClassCountAggregateFunction
Counts items.
Definition
Namespace:Telerik.Pivot.Core
Assembly:Telerik.Pivot.Core.dll
Syntax:
[DataContract]
public sealed class CountAggregateFunction : AggregateFunction, INotifyPropertyChanged, ISupportInitialize, IServiceProvider, IEditable, INamed
Inheritance: objectCloneableSettingsNodeAggregateFunctionCountAggregateFunction
Implements:
Inherited Members
Constructors
CountAggregateFunction()
Declaration
public CountAggregateFunction()
Properties
DisplayName
Gets the display-friendly name.
Declaration
public override string DisplayName { get; }
Property Value
Overrides
Methods
CloneCore(Cloneable)
Makes the instance a clone (deep copy) of the specified Cloneable.
Declaration
protected override void CloneCore(Cloneable source)
Parameters
source
The object to clone.
Overrides
Remarks
Notes to Inheritors If you derive from Cloneable, you may need to override this method to copy all properties. It is essential that all implementations call the base implementation of this method (if you don't call base you should manually copy all needed properties including base properties).
CreateAggregate(IAggregateContext)
Creates an AggregateValue supported by that AggregateFunction.
Declaration
protected override AggregateValue CreateAggregate(IAggregateContext context)
Parameters
context
AggregateContext containing information about AggregateValue usage.
Returns
An AggregateValue.
Overrides
CreateInstanceCore()
When implemented in a derived class, creates a new instance of the Cloneable derived class.
Declaration
protected override Cloneable CreateInstanceCore()
Returns
New instance for cloning.
Overrides
Remarks
Do not call this method directly (except when calling base in an implementation). This method is called internally by the Clone() method whenever a new instance of the Cloneable is created. Notes to Inheritors. Every Cloneable derived class must implement this method. A typical implementation is to simply call the default constructor and return the result.
GetStringFormat(Type, string)
Gets a string format suitable to format the value of the AggregateValues produced by that AggregateFunction.