Пример #1
0
 public PipelineRunner(PipelineConfigurationBase pipelineConfiguration, PipelineContext pipelineContext)
 {
     _pipelineConfiguration = pipelineConfiguration;
     _pipelineContext       = pipelineContext;
 }
Пример #2
0
        public virtual PipelineRunner Configure(PipelineConfigurationBase pipelineConfiguration)
        {
            var context = new PipelineContext(pipelineConfiguration.GetSteps().Select(x => x.Id).ToArray());

            return(new PipelineRunner(pipelineConfiguration, context));
        }