示例#1
0
 public void When(MoneyDeposited e)
 {
     CurrentBalance += e.Amount;
 }
示例#2
0
        public void DepositMoney(decimal amount, Guid transaction)
        {
            var e = new MoneyDeposited(amount, transaction);

            Apply(e);
        }