Exemple #1
0
            protected override void UpdateOnAdd(Collections.Specialized.NotifyCollectionChangedEventArgs e)
            {
                base.UpdateOnAdd(e);

                var indexInSource = e.NewStartingIndex;

                foreach (var item in e.NewItems.OfType <T>())
                {
                    UpdateOnInsert(_source.Rewind(e), indexInSource, item);

                    indexInSource++;
                }
            }