internal ReadOnlyTwoCollectionOperationContinuousCollection(IList <TSource> first, IList <TSource> second) { this.First = first; this.NotifyCollectionChangedMonitorForFirst = new NotifyCollectionChangedMonitor <TSource>(null, first); this.Second = second; this.NotifyCollectionChangedMonitorForSecond = new NotifyCollectionChangedMonitor <TSource>(null, second); }
static void OnAnyPropertyChange(NotifyCollectionChangedMonitor <T> monitor, object itemThatChanged) { if (monitor.ItemChanged == null) { return; } monitor.ItemChanged(monitor, (INotifyPropertyChanged)itemThatChanged); }
internal ReadOnlyAdapterContinuousCollection(IList <TSource> list, PropertyAccessTree propertyAccessTree) { this.Source = list; this.NotifyCollectionChangedMonitor = new NotifyCollectionChangedMonitor <TSource>(propertyAccessTree, list); }