/// <summary> /// Updates the trace level and rebuilds the trace list. /// </summary> private void UpdateTraceLevel() { TraceEntryCollection.Clear(); if (SelectedTraceEntryCollection != null) { SelectedTraceEntryCollection.Clear(); } foreach (var entry in _traceEntries) { if (EntryMatchesLevel(entry)) { TraceEntryCollection.Add(entry); } } }
/// <summary> /// Method to invoke when the ClearOutput command is executed. /// </summary> private void OnClearOutputExecute() { TraceEntryCollection.Clear(); }