PdfRpt.FluentInterface.MainTableAdHocColumnsConventionsBuilder.AddColumnAggregateFunction C# (CSharp) Method

AddColumnAggregateFunction() public method

Here you can assign an AggregateFunction to the specific column name.
public AddColumnAggregateFunction ( string name, IAggregateFunction func ) : void
name string
func IAggregateFunction
return void
        public void AddColumnAggregateFunction(string name, IAggregateFunction func)
        {
            if (_builder.ColumnNamesAggregateFunctions == null)
                _builder.ColumnNamesAggregateFunctions = new Dictionary<string, IAggregateFunction>();

            _builder.ColumnNamesAggregateFunctions.Add(name, func);
        }