Initializes new instance of PivotData with specified dimensions configuration and calculates values for specified data
Namespace: NReco.PivotData
Assembly: NReco.PivotData (in NReco.PivotData.dll) Version: 1.4.1
Syntax
public PivotData( string[] dimensions, IAggregatorFactory aggregator, IEnumerable data, Func<Object, string, Object> getValue, bool lazyTotals )
Parameters
- dimensions
- Type: SystemString
dimensions configuration (array of dimension fields) - aggregator
- Type: NReco.PivotDataIAggregatorFactory
measure aggregators factory - data
- Type: System.CollectionsIEnumerable
data enumeration - getValue
- Type: SystemFuncObject, String, Object
record field value accessor delegate - lazyTotals
- Type: SystemBoolean
if true totals are calculated on-the-fly when accessed for the first time
See Also