Example #1
0
 public BankAccount(ICalculateAccountBonuses bonusCalculator, INotifyTheFeds feds)
 {
     BonusCalculator = bonusCalculator;
     Feds            = feds;
 }
 public BankAccount(ICalculateBankAccountBonuses bonusCalculator, INotifyTheFeds fedNotifier)
 {
     _bonusCalculator = bonusCalculator;
     _fedNotifier     = fedNotifier;
 }