public ProcessContext( ProcessFactory factory, Process process, int waitFor = 0, bool killOnTimeOut = false) { this.KillOnTimeOut = killOnTimeOut; this.Process = process; this.WaitFor = waitFor; this._factory = factory; _standardOutput = new ConsoleOutput(); _errorOutput = new ConsoleOutput(); }
public StreamReadContext(Stream stream, byte[] buffer, MessageType messageType, ConsoleOutput consoleOutput) { this._stream = stream; this._buffer = buffer; this._messageType = messageType; this._consoleOutput = consoleOutput; }