Class AggregateValue
Holds a value presentation of an aggregate function accumulated during pivot grouping.
Inherited Members
Namespace: Telerik.Pivot.Core.Aggregates
Assembly: Telerik.Pivot.Core.dll
Syntax
public abstract class AggregateValue : Cloneable
Constructors
AggregateValue()
Declaration
protected AggregateValue()
Fields
ErrorAggregateValue
Gets an AggregateValue representing error.
Declaration
public static readonly AggregateValue ErrorAggregateValue
Field Value
AggregateValue
|
Methods
AccumulateOverride(Object)
Add the value
to the results in the current AggregateValue instance.
Declaration
protected abstract void AccumulateOverride(object value)
Parameters
System.Object
value
The value to accumulate. |
CloneCore(Cloneable)
Makes the instance a clone (deep copy) of the specified Cloneable.
Declaration
protected override void CloneCore(Cloneable source)
Parameters
Cloneable
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).
GetValue()
Gets a presentation friendly value of the results in the current AggregateValue.
Declaration
public object GetValue()
Returns
System.Object
Returns an object containing a formatted value or error object. |
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 abstract object GetValueOverride()
Returns
System.Object
A result object. |
MergeOverride(AggregateValue)
Merge the results of an AggregateValue with the results in the current AggregateValue instance.
Declaration
protected abstract void MergeOverride(AggregateValue childAggregate)
Parameters
AggregateValue
childAggregate
The AggregateValue to merge. |
ToString()
Declaration
public override string ToString()
Returns
System.String
|