private void Dispose(bool disposing) { if (_isDisposed) { return; } if (disposing) { _debuggerTarget?.Dispose(); _consoleTarget?.Dispose(); _fileTarget?.Dispose(); _nLogViewerTarget?.Dispose(); } _isDisposed = true; }
public void Dispose() { m_ConsoleTarget?.Dispose(); m_FileTarget?.Dispose(); _self = null; }