Exemplo n.º 1
0
            private void Sync()
            {
                var removed = SynchronizeLists.Sync(monitoredItems, collection, (item, tuple) => tuple.Item1 == item, AddItem);

                foreach (var item in removed)
                {
                    item.Item2.PropertyChanged -= CheckThis_PropertyChanged;
                }
            }
Exemplo n.º 2
0
            private void Sync()
            {
                var removed = SynchronizeLists.Sync(monitoredItems, collection, (item, tuple) => tuple.Item1 == item, AddItem);

                foreach (var item in removed)
                {
                    item.Item2.DataChanged -= parent.OnDataChanged;
                }
            }
Exemplo n.º 3
0
 private void Sync()
 {
     SynchronizeLists
     .Sync(monitoredItems, collection, (item, tuple) => tuple.Item1 == item, AddItem)
     .ForEach(item => item.Item2.PropertyChanged -= CheckThis_PropertyChanged);
 }
Exemplo n.º 4
0
 private void Sync()
 {
     SynchronizeLists
     .Sync(monitoredItems, collection, (item, tuple) => tuple.Item1 == item, AddItem)
     .ForEach(item => item.Item2.DataChanged -= parent.OnDataChanged);
 }