private void InsertToRegistery(CashBase cash) { if (!AvailableCash.ContainsKey(cash.GetType().FullName)) { AvailableCash[cash.GetType().FullName] = cash; } AvailableCash[cash.GetType().FullName].Count++; }
private void RemoveFromRegistery(CashBase cash) { AvailableCash[cash.GetType().FullName].Count--; }