public static ObservableCollectionBatchDispatcher <TElement> Dispatch <TElement>(this DependencyObjectCollectionBase <TElement> dependencyObjectCollection,
                                                                                  Action <IEnumerable <TElement> > onItemsAdded, Action <IEnumerable <TElement> > onItemsRemoved) where TElement : DependencyObject
 {
     return(ObservableCollectionDispatcher.Dispatch(dependencyObjectCollection, onItemsAdded, onItemsRemoved));
 }
 public static ObservableCollectionBatchDispatcher <TElement> Dispatch <TElement>(this ObservableCollection <TElement> observableCollection,
                                                                                  Action <IEnumerable <TElement> > onItemsAdded, Action <IEnumerable <TElement> > onItemsRemoved)
 {
     return(ObservableCollectionDispatcher.Dispatch(observableCollection, onItemsAdded, onItemsRemoved));
 }
 public DispatchedObservableCollection(IEnumerable <T> collection)
     : base(collection)
 {
     _dispatcher = this.Dispatch(OnItemAdded, OnItemRemoved);
 }
 public DispatchedObservableCollection(List <T> list)
     : base(list)
 {
     _dispatcher = this.Dispatch(OnItemAdded, OnItemRemoved);
 }
 public DispatchedObservableCollection()
 {
     _dispatcher = this.Dispatch(OnItemAdded, OnItemRemoved);
 }