Exemplo n.º 1
0
        /// <summary>
        /// Runs this pipeline.
        /// </summary>
        /// <param name="input">Input for this run (optional)</param>
        /// <returns>The output of this run</returns>
        public object Run(object input = null)
        {
            var run = new PipelineRun(input, _pipeline);

            run.RunAll();
            return(run.Output);
        }
 // Ctor accepting the pipeline to run and its input object.
 internal PipeEnumerator(Pipeline pipeline, object input)
 {
     _current = new PipelineRun(input, pipeline);
 }