예제 #1
0
 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);
 }
예제 #2
0
 public CountSumHandler(TransformerHandler nextHandler, ReportConfig config) : base(nextHandler, config)
 {
 }
예제 #3
0
 public WithDataHandler(TransformerHandler nextHandler, ReportConfig config) : base(nextHandler, config)
 {
 }
예제 #4
0
 protected TransformerHandler(TransformerHandler nextHandler, ReportConfig config)
 {
     service      = new DataTransformer(config);
     _nextHandler = nextHandler;
 }