Esempio n. 1
0
 public OutputContext(PipelineContext context, IIncrement incrementer) {
     context.Activity = PipelineActivity.Load;
     _context = context;
     _incrementer = incrementer;
     OutputFields = context.GetAllEntityOutputFields().ToArray();
     Connection = context.Process.Connections.First(c => c.Name == "output");
 }
Esempio n. 2
0
 public InputContext(PipelineContext context, IIncrement incrementer) {
     _incrementer = incrementer;
     _context = context;
     _context.Activity = PipelineActivity.Extract;
     RowCapacity = context.GetAllEntityFields().Count();
     InputFields = context.Entity.Fields.Where(f => f.Input).ToArray();
     Connection = context.Process.Connections.First(c => c.Name == context.Entity.Connection);
 }
Esempio n. 3
0
 public DefaultPipeline(IEntityController controller, IContext context) {
     _context = (PipelineContext)context;
     _controller = controller;
     Transformers = new List<ITransform>();
 }
Esempio n. 4
0
 public Incrementer(PipelineContext context) {
     _context = context;
 }