void Process(PipeOutput output) { string text; while ((text = output.Read()) != null) { Console.WriteLine(text); } }
public override PipeOutput Run(PipeInput input) { string filename = input; string folder = GetFolderName(filename); CreateFolder(folder); return(PipeOutput.FromString(filename)); }