Пример #1
0
        public PipelineConfiguration NextStep(IPipeline pipeline, Variables variables, string scope)
        {
            var p = new StepConfiguration(pipeline, variables, scope);

            _queue.Add(p);

            return(this);
        }
Пример #2
0
        public PipelineConfiguration NextStep(string id, Type pipeline, Variables variables, string scope, Action <IStepConfiguration> cfg)
        {
            var p = new StepConfiguration(id, pipeline, variables, scope);

            p.Configure(cfg);
            _queue.Add(p);

            return(this);
        }