예제 #1
0
 public void withdraw(DetailAccount source, Quantity amount)
 {
     withdrawals.Add(Potential <Withdrawal> .New(source, amount));
 }
예제 #2
0
 public void deposit(DetailAccount destination, Quantity amount)
 {
     deposits.Add(Potential <Deposit> .New(destination, amount));
 }