示例#1
0
 private void UnsubscribeFromProductEvents(ProductViewModel product)
 {
     product.ProductDeleted -= Product_ProductDeleted;
 }
示例#2
0
 private void SubscribeToProductEvents(ProductViewModel product)
 {
     product.ProductDeleted += Product_ProductDeleted;
 }