public UpcomingEventsInYourAreaBaseNotifier(IEventRepository eventRepository,
                                             IUserRepository userRepository,
                                             IEventAttendeeRepository eventAttendeeRepository,
                                             IUserNotificationRepository userNotificationRepository,
                                             IUserNotificationPreferenceRepository userNotificationPreferenceRepository,
                                             IEmailSender emailSender,
                                             IMapRepository mapRepository,
                                             ILogger logger) :
     base(eventRepository, userRepository, eventAttendeeRepository, userNotificationRepository, userNotificationPreferenceRepository, emailSender, mapRepository, logger)
 {
 }
Esempio n. 2
0
 public EventSummaryAttendeeNotifier(IEventRepository eventRepository,
                                     IUserRepository userRepository,
                                     IEventAttendeeRepository eventAttendeeRepository,
                                     IUserNotificationRepository userNotificationRepository,
                                     IUserNotificationPreferenceRepository userNotificationPreferenceRepository,
                                     IEmailSender emailSender,
                                     IMapRepository mapRepository,
                                     ILogger logger) :
     base(eventRepository, userRepository, eventAttendeeRepository, userNotificationRepository, userNotificationPreferenceRepository, emailSender, mapRepository, logger)
 {
 }
Esempio n. 3
0
 public UserNotificationManager(IEventRepository eventRepository,
                                IUserRepository userRepository,
                                IEventAttendeeRepository eventAttendeeRepository,
                                IUserNotificationRepository userNotificationRepository,
                                IUserNotificationPreferenceRepository userNotificationPreferenceRepository,
                                IEmailSender emailSender,
                                IMapRepository mapRepository,
                                ILogger <UserNotificationManager> logger)
 {
     this.eventRepository                      = eventRepository;
     this.userRepository                       = userRepository;
     this.eventAttendeeRepository              = eventAttendeeRepository;
     this.userNotificationRepository           = userNotificationRepository;
     this.userNotificationPreferenceRepository = userNotificationPreferenceRepository;
     this.emailSender   = emailSender;
     this.mapRepository = mapRepository;
     this.logger        = logger;
 }
Esempio n. 4
0
        public NotificationEngineBase(IEventRepository eventRepository,
                                      IUserRepository userRepository,
                                      IEventAttendeeRepository eventAttendeeRepository,
                                      IUserNotificationRepository userNotificationRepository,
                                      IUserNotificationPreferenceRepository userNotificationPreferenceRepository,
                                      IEmailSender emailSender,
                                      IMapRepository mapRepository,
                                      ILogger logger)
        {
            EventRepository                      = eventRepository;
            UserRepository                       = userRepository;
            EventAttendeeRepository              = eventAttendeeRepository;
            UserNotificationRepository           = userNotificationRepository;
            UserNotificationPreferenceRepository = userNotificationPreferenceRepository;
            EmailSender   = emailSender;
            MapRepository = mapRepository;
            Logger        = logger;

            // Set the Api Key Here
            EmailSender.ApiKey = Environment.GetEnvironmentVariable("SendGridApiKey");
        }
 public UserNotificationPreferencesController(IUserRepository userRepository, IUserNotificationPreferenceRepository userNotificationPreferenceRepository)
 {
     this.userRepository = userRepository;
     this.userNotificationPreferenceRepository = userNotificationPreferenceRepository;
 }