private bool Contains(Cash aMoney) { Cash m = FindMoney(aMoney.Currency); return(m.Amount == aMoney.Amount); }
public CashBag(Cash m, CashBag bag) { AppendMoney(m); AppendBag(bag); }
public ICash AddMoney(Cash m) { return((new CashBag(m, this)).Simplify()); }
public CashBag(Cash m1, Cash m2) { AppendMoney(m1); AppendMoney(m2); }