Class DoubleAggregateValue
Represents AggregateValue with double value.
Inherited Members
Namespace: Telerik.Pivot.Core.Aggregates
Assembly: Telerik.WinControls.PivotGrid.dll
Syntax
public sealed class DoubleAggregateValue : AggregateValue, IConvertibleAggregateValue<double>
Constructors
DoubleAggregateValue(Double)
Initializes a new instance of the DoubleAggregateValue class.
Declaration
public DoubleAggregateValue(double value)
Parameters
System.Double
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
System.Object
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
Cloneable
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
System.Object
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
AggregateValue
childAggregate
The AggregateValue to merge. |
Overrides
Explicit Interface Implementations
IConvertibleAggregateValue<Double>.TryConvertValue(out Double)
Declaration
bool IConvertibleAggregateValue<double>.TryConvertValue(out double value)
Parameters
System.Double
value
|
Returns
System.Boolean
|