示例#1
0
 public bool Remove(Interfaces.IBasketItem item)
 {
     if (item == null)
     {
         throw new ArgumentNullException("item");
     }
     return(_items.Remove(item));
 }
示例#2
0
 public void Add(Interfaces.IBasketItem item)
 {
     if (item == null)
     {
         throw new ArgumentNullException("item");
     }
     _items.Add(item);
 }
示例#3
0
 public bool Contains(Interfaces.IBasketItem item)
 {
     return(_items.Contains(item));
 }