public void Remove(NoResetObservablecollection <T> items) { foreach (T item in items) { Add(item); } }
public void RemoveSlave(NoResetObservablecollection <T> items) { Remove(items); items.CollectionChanged -= new System.Collections.Specialized.NotifyCollectionChangedEventHandler(SlaveItems_CollectionChanged); }