示例#1
0
 public void Add(Charge c)
 {
     if (c.Description == "")
     {
         throw(new UnassignedChargeException());
     }
     charges.Add(c);
 }
示例#2
0
 private void Add(Charge c)
 {
     charges.Add(c);
 }