Example #1
0
 public void SetInterestStrategy(IInterestStrategy interestStrategy)
 {
     this.InterestStrategy = interestStrategy;
 }
Example #2
0
 public SavingsAccount(IInterestStrategy interestStrategy)
 {
     base.Transactions = new List<Transaction>();
     base.InterestStrategy = interestStrategy;
 }