Пример #1
0
 public InterestAccountState(AccountState accountState)
     : this(accountState.Balance, accountState.Account)
 {
 }
Пример #2
0
 public OverdrawnAccountState(AccountState accountState)
 {
     Balance = accountState.Balance;
     Account = accountState.Account;
 }
 public Account(string owner)
 {
     _owner       = owner;
     AccountState = new ZeroInterestAccountState(0, this);
 }