Beispiel #1
0
 private void OnAllItemsCollectionChangeRemoved(object sender, IdentityCollectionRemoveEventArgs e)
 {
     foreach (var id in e.RemovedItems)
     {
         RemoveViewModelFromCollections(id);
     }
 }
 private void OnCollectionChangeRemoved(object sender, IdentityCollectionRemoveEventArgs e)
 {
     foreach (IIdentifier item in e.RemovedItems)
     {
         TViewModel vm = viewModelDictionary[item].Item2;
         allItems.Remove(vm);
         viewModelDictionary.Remove(item);
     }
 }
 private void OnCollectionChangeRemoved(object sender, IdentityCollectionRemoveEventArgs e)
 {
     Remove(e.RemovedItems);
 }