Example #1
0
        void Process(PipeOutput output)
        {
            string text;

            while ((text = output.Read()) != null)
            {
                Console.WriteLine(text);
            }
        }
Example #2
0
        public override PipeOutput Run(PipeInput input)
        {
            string filename = input;

            string folder = GetFolderName(filename);

            CreateFolder(folder);

            return(PipeOutput.FromString(filename));
        }