Class ExpressionAggregation
This aggregator expects two or more fields, and the modifier determines the operation to run on the fields. Example: Expression(amount;probabilityPercent):Multiply
Inherited Members
Namespace: SuperOffice.CRM.ArchiveLists.Aggregation
Assembly: SoDataBase.dll
Syntax
[AggregationPlugin("Expression")]
public class ExpressionAggregation : AggregationPluginBase, IAggregationScalarPlugin, IAggregationPlugin
Constructors
ExpressionAggregation()
This aggregator expects two or more fields, and the modifier determines the operation to run on the fields. Example: Expression(amount;probabilityPercent):Multiply
Declaration
public ExpressionAggregation()
Fields
PluginName
This aggregator expects two or more fields, and the modifier determines the operation to run on the fields. Example: Expression(amount;probabilityPercent):Multiply
Declaration
public const string PluginName = "Expression"
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
AddItem(ArchiveColumnData[])
Accept an array of items, and return one field
Declaration
public override 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 |
Overrides
GetAggregatedValue()
Return the aggregate value (output in the footer)
Declaration
public override ArchiveColumnData GetAggregatedValue()
Returns
Type | Description |
---|---|
ArchiveColumnData |
Overrides
ToString()
This aggregator expects two or more fields, and the modifier determines the operation to run on the fields. Example: Expression(amount;probabilityPercent):Multiply
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |