public void Dispose() { if (_aggregatedLogger != null) { List <ClipboardData> allData = new List <ClipboardData> { _richTextLogger.GetClipboardData(), _textLogger.GetClipboardData(), _csvLogger.GetClipboardData(), _spreadsheetLogger.GetClipboardData() }; ClipboardHelper.SetClipboardData(allData.ToArray()); _richTextLogger = null; _csvLogger.Dispose(); _spreadsheetLogger.Dispose(); } }
public override void Dispose() { _logger.Dispose(); }