private IObservable <(NotifyListChangedAction, IList <LogEvent>)> InvokeFilter(NotifyListChangedAction action, IList <LogEvent> logEvents, Func <LogEvent, bool> filter)
 {
     return(Observable.StartAsync(token => Task.Run(() => (action, ApplyFilter(logEvents, filter, token)), token)));
 }
 public NotifyListChangedEventArgs(NotifyListChangedAction action, IList <T> items, IList <T> newItems)
 {
     Action   = action;
     Items    = items;
     NewItems = newItems;
 }