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; }