protected void NotifyCollectionChanged(object sender) { NotifyCollectionReset(sender); if (CollectionChangedInternal == null) { return; } CollectionChangedInternal.Invoke(sender, this); }
protected void NotifyCollectionChanged(object sender, NotifyCollectionChangedAction action, IEnumerable <T> changedItems) { //NotifyCollectionReset( sender); if (CollectionChangedInternal != null) { CollectionChangedInternal.Invoke(sender, this); } if (CollectionChanged == null) { return; } CollectionChanged.Invoke(this, new NotifyCollectionChangedEventArgs(action, changedItems)); }