//ACTIONS #region "actions" public void AddToQueue(QSSQueueItem item) { if (enabled) { Application.Current.Dispatcher.Invoke(delegate { queue.Add(item); }); } }
public void Remove(QSSQueueItem item) { Application.Current.Dispatcher.Invoke(delegate { queue.Remove(item); }); }