Class AvgAggregation
Aggregation plugin: Average (arithmetic mean). Modifiers ":NoNegative" (include 0 values) and ":OnlyPositive" (do not include 0 values)
Implements
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists.Aggregation
Assembly: SoDataBase.dll
Syntax
[AggregationPlugin("Avg")]
public class AvgAggregation : AggregationPluginBase, IAggregationPlugin
Constructors
AvgAggregation()
Aggregation plugin: Average (arithmetic mean). Modifiers ":NoNegative" (include 0 values) and ":OnlyPositive" (do not include 0 values)
Declaration
public AvgAggregation()
Fields
PluginName
Aggregation plugin: Average (arithmetic mean). Modifiers ":NoNegative" (include 0 values) and ":OnlyPositive" (do not include 0 values)
Declaration
public const string PluginName = "Avg"
Field Value
Type | Description |
---|---|
string |
Methods
AddItem(ArchiveColumnData)
Accept one item, and return its replacement (output in the detail row)
Declaration
public override 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 |
Overrides
GetAggregatedValue()
Return the aggregate value (output in the footer)
Declaration
public override ArchiveColumnData GetAggregatedValue()
Returns
Type | Description |
---|---|
ArchiveColumnData |
Overrides
ToString()
String output for debugging
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |