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
ファイルを表示 Open project: VahidN/PdfReport Class Usage Examples

Public Methods

Method 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

Method Description
checkNewGroupStarted ( bool newGroupStarted ) : void
groupMax ( double cellValue ) : void
overallMax ( double cellValue ) : void

Method Details

CellAdded() public method

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
return void

ProcessingBoundary() public method

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
return object