protected void NotifyCollectionChanged(object sender)
        {
            NotifyCollectionReset(sender);

            if (CollectionChangedInternal == null)
            {
                return;
            }

            CollectionChangedInternal.Invoke(sender, this);
        }
Beispiel #2
0
        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));
        }