public NotificationPollingAgent(INotificationRepository notificationRepository, ICalendar calendar, INotificationEmailSender notificationEmailSender, ILogManager logManager, ISettings settings, ITwilioMessagingService twilioMessagingService, INotificationMediumRepository notificationMediumRepository) { _notificationRepository = notificationRepository; _calendar = calendar; _notificationEmailSender = notificationEmailSender; _settings = settings; _twilioMessagingService = twilioMessagingService; _notificationMediumRepository = notificationMediumRepository; _logger = logManager.GetLogger <NotificationPollingAgent>(); }
public Notifier(INotificationTypeRepository notificationTypeRepository, INotificationSubscriberRepository notificationSubscriberRepository, IEmailTemplateRepository emailTemplateRepository, IEmailTemplateFormatter emailTemplateFormatter, INotificationRepository notificationRepository, INotificationEmailFactory notificationEmailFactory, ISettings settings, IUserRepository <User> userRepository, ICalendar calendar, ITwilioMessagingService twilioMessagingService) { _notificationTypeRepository = notificationTypeRepository; _notificationSubscriberRepository = notificationSubscriberRepository; _emailTemplateRepository = emailTemplateRepository; _emailTemplateFormatter = emailTemplateFormatter; _notificationRepository = notificationRepository; _notificationEmailFactory = notificationEmailFactory; _settings = settings; _userRepository = userRepository; _calendar = calendar; _twilioMessagingService = twilioMessagingService; }