예제 #1
0
 public void RemoveItem(OrderlistItem o)
 {
     if (o == null)
     {
         throw new ArgumentNullException();
     }
     _list.RemoveAll(x => x == o);
 }
예제 #2
0
 public void AddItem(OrderlistItem item)
 {
     if (item == null)
     {
         throw new Exception();
     }
     _list.Add(item);
 }