Esempio n. 1
0
 public Account(string owner)
 {
     _owner       = owner;
     AccountState = new ZeroInterestAccountState(0, this);
 }
Esempio n. 2
0
 public OverdrawnAccountState(AccountState accountState)
 {
     Balance = accountState.Balance;
     Account = accountState.Account;
 }
 public OverdraftState(AccountState state)
 {
     this.account = state.account;
 }