public void Flush() { //stdOut.Flush(); VerboseOut.Flush(); ErrorOut.Flush(); WarningOut.Flush(); }
public IResultWriter EndOutput(string endStr = "") { stdOut.Flush(); VerboseOut.Flush(); WarningOut.Flush(); return(this); }
protected virtual void Dispose(bool disposing = true) { if (_disposed) { return; } if (disposing) { stdOut.Close(); VerboseOut.Close(); ErrorOut.Close(); WarningOut.Close(); stdOut.Dispose(); VerboseOut.Dispose(); ErrorOut.Dispose(); WarningOut.Dispose(); } _disposed = true; }
protected virtual void Dispose(bool disposing = true) { if (_disposed) { return; } if (disposing) { stdOut.Close(); VerboseOut.Close(); ErrorOut.Close(); WarningOut.Close(); stdOut.Dispose(); VerboseOut.Dispose(); ErrorOut.Dispose(); WarningOut.Dispose(); } // release any unmanaged objects // set the object references to null _disposed = true; }
public IResultWriter WriteWarning(string line) { WarningOut.WriteLine(line); return(this); }