Пример #1
0
 public virtual void RemoveDiscountedItem(VendorDiscountedItem item)
 {
     discountedItems.Remove(item);
     if (DiscountedItemRemoved != null)
     {
         DiscountedItemRemoved(this, null);
     }
 }
Пример #2
0
 public virtual void AddDiscountedItem(VendorDiscountedItem item)
 {
     item.Vendor = this;
     discountedItems.Add(item);
     if (DiscountedItemAdded != null)
     {
         DiscountedItemAdded(this, null);
     }
 }