C# Class PdfRpt.AggregateProvider

Predefined aggregate functions provider
Inheritance: IAggregateFunction
Show file Open project: VahidN/PdfReport

Public Methods

Method Description
AggregateProvider ( AggregateFunction aggregateFunction ) : System

Predefined aggregate functions provider

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 values of each pages individually, without considering the previous pages data.

Private Methods

Method Description
initializeFunction ( AggregateFunction aggregateFunction ) : void

Method Details

AggregateProvider() public method

Predefined aggregate functions provider
public AggregateProvider ( AggregateFunction aggregateFunction ) : System
aggregateFunction AggregateFunction A set of a predefined aggregate functions.
return System

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 values of each pages individually, without considering the previous pages data.
public ProcessingBoundary ( IList columnCellsSummaryData ) : object
columnCellsSummaryData IList List of data
return object