Esempio n. 1
0
 public void Dispose()
 {
     _eventDispatcher.Dispose();
     _eventDispatcher = null;
 }
Esempio n. 2
0
 public ObservableCollectionBatchDispatcher(ObservableCollectionWrapper <T> collectionWrapper, Action <IEnumerable <T> > onItemsAdded,
                                            Action <IEnumerable <T> > onItemsRemoved)
     : base(collectionWrapper, onItemsAdded, onItemsRemoved)
 {
     _eventDispatcher = new NotifyCollectionEventBatchDispatcher <T>(collectionWrapper, Adapter.OnItemsAdded, Adapter.OnItemsRemoved, Adapter.OnReset);
 }