public IOCommand(Command command, Task ioTask, StandardIOStream standardIOStream, object sourceOrSink) { this.command = command; this.task = this.CreateTask(ioTask); this.standardIOStream = standardIOStream; this.sourceOrSink = sourceOrSink; }
private static string ToString(StandardIOStream standardIOStream) => standardIOStream switch {