Show / Hide Table of Contents

Class AggregationPluginBase

Inheritance
object
AggregationPluginBase
AvgAggregation
CountAggregation
CountAllAggregation
CurrencyAggregation
DatePartAggregation
ExpressionAggregation
GroupAggregation
MaxAggregation
MedianAggregation
MinAggregation
NoAggregation
PercentOfTotalAggregation
SumAggregation
WeightedAmountAggregation
Implements
IAggregationPlugin
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.ArchiveLists.Aggregation
Assembly: SoDataBase.BusinessLogic.dll
Syntax
public abstract class AggregationPluginBase : IAggregationPlugin

Constructors

AggregationPluginBase()

Declaration
protected AggregationPluginBase()

Methods

AddItem(ArchiveColumnData)

Accept one item, and return its replacement (output in the detail row)

Declaration
public abstract ArchiveColumnData AddItem(ArchiveColumnData item)
Parameters
Type Name Description
ArchiveColumnData item
Returns
Type Description
ArchiveColumnData

This value will be output in the current detail row. It can be the incoming item unchaged, a transformation of it, or the current (running) value of the aggregate - it all depends on the precise function the aggregator

AddItem(ArchiveColumnData[])

Accept an array of items, and return one field

Declaration
public virtual ArchiveColumnData AddItem(ArchiveColumnData[] items)
Parameters
Type Name Description
ArchiveColumnData[] items
Returns
Type Description
ArchiveColumnData

This value will be output in the current detail row. It can be one of the the incoming items unchanged, a transformation of them, or the current (running) value of the aggregate - it all depends on the precise function the aggregator

FirstModifier()

Declaration
protected string FirstModifier()
Returns
Type Description
string

GetAggregatedValue()

Return the aggregate value (output in the footer)

Declaration
public abstract ArchiveColumnData GetAggregatedValue()
Returns
Type Description
ArchiveColumnData

HasModifier(string)

Declaration
protected bool HasModifier(string modifier)
Parameters
Type Name Description
string modifier
Returns
Type Description
bool

SetModifiers(string[])

Accept modifiers in the column definition

Declaration
public void SetModifiers(string[] modifiers)
Parameters
Type Name Description
string[] modifiers

Implements

IAggregationPlugin

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top