public IPipeline Insert(int index, string name, IModuleList modules)
        {
            ExecutionPipeline executionPipeline = CreatePipeline(name, modules);

            _pipelines.Insert(index, executionPipeline);
            return(executionPipeline);
        }
Exemplo n.º 2
0
 private ExecutionContext(ExecutionContext original, IModule module)
 {
     Engine      = original.Engine;
     ExecutionId = original.ExecutionId;
     _pipeline   = original._pipeline;
     Module      = module;
 }
        public IPipeline Add(string name, IModuleList modules)
        {
            ExecutionPipeline executionPipeline = CreatePipeline(name, modules);

            _pipelines.Add(executionPipeline);
            return(executionPipeline);
        }
        public IPipeline Insert(int index, IPipeline pipeline)
        {
            ExecutionPipeline executionPipeline = CreatePipeline(pipeline.Name, pipeline);

            executionPipeline.ProcessDocumentsOnce = pipeline.ProcessDocumentsOnce;
            _pipelines.Insert(index, executionPipeline);
            return(executionPipeline);
        }
        public IPipeline Add(IPipeline pipeline)
        {
            ExecutionPipeline executionPipeline = CreatePipeline(pipeline.Name, pipeline);

            executionPipeline.ProcessDocumentsOnce = pipeline.ProcessDocumentsOnce;
            _pipelines.Add(executionPipeline);
            return(executionPipeline);
        }
Exemplo n.º 6
0
 public ExecutionContext(Engine engine, Guid executionId, ExecutionPipeline pipeline)
 {
     Engine      = engine;
     ExecutionId = executionId;
     _pipeline   = pipeline;
 }
Exemplo n.º 7
0
 public ExecutionContext(Engine engine, ExecutionPipeline pipeline)
 {
     Engine    = engine;
     _pipeline = pipeline;
 }