Example #1
0
 private void UnsubscribeFromItemEvents(ShoppingCartItemViewModel item)
 {
     item.ItemDeleted     -= Item_ItemDeleted;
     item.PropertyChanged -= Item_PropertyChanged;
 }
Example #2
0
 private void SubscribeToItemEvents(ShoppingCartItemViewModel item)
 {
     item.ItemDeleted     += Item_ItemDeleted;
     item.PropertyChanged += Item_PropertyChanged;
 }