public KynFirstNotificationPollingAgent(ISettings settings, ILogManager logManager, INotifier notifier, INotificationTypeRepository notificationTypeRepository, IEventCustomerRepository eventCustomerRepository, IKynNotificationService kynNotificationService, ICorporateAccountRepository corporateAccountRepository) { _logger = logManager.GetLogger <KynFirstNotificationPollingAgent>(); _notifier = notifier; _notificationTypeRepository = notificationTypeRepository; _daysAfterRegistration = settings.DaysAfterRegistrationKynFirstNotification; _eventCustomerRepository = eventCustomerRepository; _kynNotificationService = kynNotificationService; _corporateAccountRepository = corporateAccountRepository; }
public KynSecondNotificationPollingAgent(ISettings settings, ILogManager logManager, INotifier notifier, INotificationTypeRepository notificationTypeRepository, IEventCustomerRepository eventCustomerRepository, IKynNotificationService kynNotificationService, ICorporateAccountRepository corporateAccountRepository) { _logger = logManager.GetLogger <KynSecondNotificationPollingAgent>(); _notifier = notifier; _notificationTypeRepository = notificationTypeRepository; _hoursBeforeKynSecondNotification = settings.HoursBeforeKynSecondNotification; _intervalKynSecondNotification = settings.IntervalKynSecondNotification; _eventCustomerRepository = eventCustomerRepository; _kynNotificationService = kynNotificationService; _corporateAccountRepository = corporateAccountRepository; }