Exemplo n.º 1
0
        protected override void OnCollectionChanged(NotifyCollectionChangedEventArgs e)
        {
            NotifyCollectionChangedEventHandler collectionChanged = CollectionChanged;

            if (collectionChanged != null)
            {
                BindableCollectionUtils.InvokeCollectionChanged(collectionChanged, this, e);
            }
        }
Exemplo n.º 2
0
        protected override void OnCollectionChanged(NotifyCollectionChangedEventArgs e)
        {
            if (Updating)
            {
                return;
            }

            NotifyCollectionChangedEventHandler collectionChanged = CollectionChanged;

            if (collectionChanged != null)
            {
                using (BlockReentrancy())
                    BindableCollectionUtils.InvokeCollectionChanged(collectionChanged, this, e);
            }
        }