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