C# Class PdfRpt.Aggregates.Numbers.Maximum

Maximum function class. It only works with numbers. If you want to apply it on other data types, you need to create your own AggregateFunction by implementing the IAggregateFunc.
Inheritance: IAggregateFunction
Afficher le fichier Open project: VahidN/PdfReport Class Usage Examples

Méthodes publiques

Méthode Description
CellAdded ( object cellDataValue, bool isNewGroupStarted ) : void

Fires after adding a cell to the main table.

ProcessingBoundary ( IList columnCellsSummaryData ) : object

A general method which takes a list of data and calculates its corresponding aggregate value. It will be used to calculate the aggregate value of each pages individually, with considering the previous pages data.

Private Methods

Méthode Description
checkNewGroupStarted ( bool newGroupStarted ) : void
groupMax ( double cellValue ) : void
overallMax ( double cellValue ) : void

Method Details

CellAdded() public méthode

Fires after adding a cell to the main table.
public CellAdded ( object cellDataValue, bool isNewGroupStarted ) : void
cellDataValue object Current cell's data
isNewGroupStarted bool Indicated starting a new group
Résultat void

ProcessingBoundary() public méthode

A general method which takes a list of data and calculates its corresponding aggregate value. It will be used to calculate the aggregate value of each pages individually, with considering the previous pages data.
public ProcessingBoundary ( IList columnCellsSummaryData ) : object
columnCellsSummaryData IList List of data
Résultat object