private void Restore(UserMemento memento) { Coins = new CoinStock(memento.Coins); }
public User(IEnumerable<CoinBatch> coins) { _objLock = new object(); Coins = new CoinStock(coins); }