Class DoubleAverageSummary
This class is used to compute the average of double or integer values.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.XlsIO.Implementation.PivotAnalysis
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
public class DoubleAverageSummary : SummaryBase, IAdjustable
Constructors
DoubleAverageSummary()
Declaration
public DoubleAverageSummary()
Methods
AdjustForNewContribution(Object)
Gets to adjust for the new value.
Declaration
public void AdjustForNewContribution(object newContribution)
Parameters
Type | Name | Description |
---|---|---|
System.Object | newContribution | Object |
AdjustForOldContribution(Object)
Gets to adjust for the old value.
Declaration
public void AdjustForOldContribution(object oldContribution)
Parameters
Type | Name | Description |
---|---|---|
System.Object | oldContribution | Object |
Combine(Object)
Combines different values together.
Declaration
public override void Combine(object other)
Parameters
Type | Name | Description |
---|---|---|
System.Object | other |
Overrides
CombineSummary(SummaryBase)
Combines different summaries into one.
Declaration
public override void CombineSummary(SummaryBase other)
Parameters
Type | Name | Description |
---|---|---|
SummaryBase | other | SummaryBase |
Overrides
GetInstance()
Returns the instance of type DoubleAverageSummary.
Declaration
public override SummaryBase GetInstance()
Returns
Type | Description |
---|---|
SummaryBase | DoubleAverageSummary |
Overrides
GetResult()
Obtains the average value.
Declaration
public override object GetResult()
Returns
Type | Description |
---|---|
System.Object | Average value. |
Overrides
Reset()
Resets the value of the variables.
Declaration
public override void Reset()
Overrides
ToString()
Converts data to string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()