public DataTransformerChain(ReportConfig config) { _handler = new WithDataHandler(null, config); _handler = new VolumeSumHandler(_handler, config); _handler = new WeightSumHandler(_handler, config); _handler = new CostSumHandler(_handler, config); _handler = new CountSumHandler(_handler, config); }
public CountSumHandler(TransformerHandler nextHandler, ReportConfig config) : base(nextHandler, config) { }
public WithDataHandler(TransformerHandler nextHandler, ReportConfig config) : base(nextHandler, config) { }
protected TransformerHandler(TransformerHandler nextHandler, ReportConfig config) { service = new DataTransformer(config); _nextHandler = nextHandler; }