예제 #1
0
        public PipelineConfiguration NextStepWithCommand <T>(Type pipeline, Variables variables, string scope, T command) where T : IPipelineCommand
        {
            var p = new StepConfigurationWithCommand <T>(pipeline, variables, scope, command);

            _queue.Add(p);

            return(this);
        }
예제 #2
0
        public PipelineConfiguration NextStepWithCommand <T>(string id, IPipeline <T> pipeline, Variables variables, string scope, T command, Action <IStepConfiguration> cfg) where T : IPipelineCommand
        {
            var p = new StepConfigurationWithCommand <T>(id, pipeline, variables, scope, command);

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

            return(this);
        }