New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Represents AggregateValue with double value.

Definition

Namespace:Telerik.Web.UI.PivotGrid.Core.Aggregates

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public sealed class DoubleAggregateValue : AggregateValue, IConvertibleAggregateValue<double>

Inheritance: objectAggregateValueDoubleAggregateValue

Implements: IConvertibleAggregateValue<double>

Inherited Members AggregateValue.ErrorAggregateValueAggregateValue.GetValue()AggregateValue.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()...

Constructors

Initializes a new instance of the DoubleAggregateValue class.

C#
public DoubleAggregateValue(double value)
Parameters:valuedouble

The default value.

Methods

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

C#
protected override void AccumulateOverride(object value)
Parameters:valueobject

The value to accumulate.

Overrides: AggregateValue.AccumulateOverride(object)

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.

C#
protected override object GetValueOverride()
Returns:

object

A result object.

Overrides: AggregateValue.GetValueOverride()

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

C#
protected override void MergeOverride(AggregateValue childAggregate)
Parameters:childAggregateAggregateValue

The AggregateValue to merge.

Overrides: AggregateValue.MergeOverride(AggregateValue)