ClassDoubleAggregateValue
Represents AggregateValue with double value.
Definition
Namespace:Telerik.Pivot.Core.Aggregates
Assembly:Telerik.Pivot.Core.dll
Syntax:
public sealed class DoubleAggregateValue : AggregateValue, IConvertibleAggregateValue<double>
Inheritance: objectCloneableAggregateValueDoubleAggregateValue
Implements:
Inherited Members
Constructors
DoubleAggregateValue(double)
Initializes a new instance of the DoubleAggregateValue class.
Declaration
public DoubleAggregateValue(double value)
Parameters
value
The default value.
Methods
AccumulateOverride(object)
Add the value to the results in the current AggregateValue instance.
Declaration
protected override void AccumulateOverride(object value)
Parameters
value
The value to accumulate.
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.
GetValueOverride()
Gets a presentation friendly value of the results in the current AggregateValue instance to be returned in GetValue(). If an error occurred during calculations the GetValue() will not call GetValueOverride() but return the error instead.
Declaration
protected override object GetValueOverride()
Returns
A result object.
Overrides
MergeOverride(AggregateValue)
Merge the results of an AggregateValue with the results in the current AggregateValue instance.
Declaration
protected override void MergeOverride(AggregateValue childAggregate)
Parameters
childAggregate
The AggregateValue to merge.
Overrides