public ExpirationChecker(IBaseScoreCardRepository baseScoreCardRepository, ExpirationCheckerNotification expirationCheckerNotification, ExpirationCheckerSettings expirationCheckerSettings, IMailSender mailSender) { Requires.NotNull(baseScoreCardRepository, nameof(baseScoreCardRepository)); Requires.NotNull(expirationCheckerNotification, nameof(expirationCheckerNotification)); Requires.NotNull(expirationCheckerSettings, nameof(expirationCheckerSettings)); Requires.NotNull(mailSender, nameof(mailSender)); this.baseScoreCardRepository = baseScoreCardRepository; this.expirationCheckerNotification = expirationCheckerNotification; this.expirationCheckerSettings = expirationCheckerSettings; this.mailSender = mailSender; }
public ExpirationChecker(IBaseScoreCardRepository baseScoreCardRepository, IValuationScoreCardRepository valuationScoreCardRepository, ExpirationCheckerNotification expirationCheckerNotification, ExpirationCheckerSettings expirationCheckerSettings, IMailSender mailSender) { Requires.NotNull(baseScoreCardRepository, "baseScoreCardRepository"); Requires.NotNull(valuationScoreCardRepository, "valuationScoreCardRepository"); Requires.NotNull(expirationCheckerNotification, "expirationCheckerNotification"); Requires.NotNull(expirationCheckerSettings, "expirationCheckerSettings"); Requires.NotNull(mailSender, "mailSender"); this.baseScoreCardRepository = baseScoreCardRepository; this.valuationScoreCardRepository = valuationScoreCardRepository; this.expirationCheckerNotification = expirationCheckerNotification; this.expirationCheckerSettings = expirationCheckerSettings; this.mailSender = mailSender; }