Class
DoubleAggregateValue

Represents AggregateValue with double value.

Definition

Namespace:Telerik.Pivot.Core.Aggregates

Assembly:Telerik.Pivot.Core.dll

Syntax:

cs-api-definition
public sealed class DoubleAggregateValue : AggregateValue, IConvertibleAggregateValue<double>

Inheritance: objectCloneableAggregateValueDoubleAggregateValue

Implements: IConvertibleAggregateValue<double>

Inherited Members AggregateValue.ErrorAggregateValueAggregateValue.GetValue()AggregateValue.ToString()Cloneable.Clone()

Constructors

DoubleAggregateValue(double)

Initializes a new instance of the DoubleAggregateValue class.

Declaration

cs-api-definition
public DoubleAggregateValue(double value)

Parameters

value

double

The default value.

Methods

AccumulateOverride(object)

Add the value to the results in the current AggregateValue instance.

Declaration

cs-api-definition
protected override void AccumulateOverride(object value)

Parameters

value

object

The value to accumulate.

Overrides AggregateValue.AccumulateOverride(object)

CreateInstanceCore()

When implemented in a derived class, creates a new instance of the Cloneable derived class.

Declaration

cs-api-definition
protected override Cloneable CreateInstanceCore()

Returns

Cloneable

New instance for cloning.

Overrides Cloneable.CreateInstanceCore()

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

cs-api-definition
protected override object GetValueOverride()

Returns

object

A result object.

Overrides AggregateValue.GetValueOverride()

MergeOverride(AggregateValue)

Merge the results of an AggregateValue with the results in the current AggregateValue instance.

Declaration

cs-api-definition
protected override void MergeOverride(AggregateValue childAggregate)

Parameters

childAggregate

AggregateValue

The AggregateValue to merge.

Overrides AggregateValue.MergeOverride(AggregateValue)