public void Remove(IEventQueue queue) { if (queue.IsSynched) this.tree.Remove(queue); else this.list.Remove(queue); }