コード例 #1
0
 public EventsController(IEventRepository eventRepository, IEventAttendeeRepository eventAttendeeRepository, IUserRepository userRepository, IEmailManager emailManager, IMapRepository mapRepository)
 {
     this.eventRepository         = eventRepository;
     this.eventAttendeeRepository = eventAttendeeRepository;
     this.userRepository          = userRepository;
     this.emailManager            = emailManager;
     this.mapRepository           = mapRepository;
 }
コード例 #2
0
 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)
 {
 }
コード例 #3
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)
 {
 }
コード例 #4
0
 public EventRepository(Angular2_AspDotNet.Data.UnitOfWork.UnitOfWork unitOfWork) : base(unitOfWork.Context)
 {
     this._unitOfWork                    = unitOfWork;
     _IEventAttendeeRepository           = new EventAttendeeRepository(this._unitOfWork);
     _IActionRepository                  = new ActionRepository(this._unitOfWork);
     _IActionResponsiblePersonRepository = new ActionResponsiblePersonRepository(this._unitOfWork);
     _IAgendaRepository                  = new AgendaRepository(this._unitOfWork);
     this._IAppointmentRepository        = new AppointmentRepository(this._unitOfWork);
     this._IObjectiveRepository          = new ObjectiveRepository(this._unitOfWork);
     this._IPerformanceReviewRepository  = new PerformanceReviewRepository(this._unitOfWork);
     this._IRoleResponsibilityRepository = new RoleResponsibilityRepository(this._unitOfWork);
 }
コード例 #5
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;
 }
コード例 #6
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");
        }
コード例 #7
0
 public EventAttendeesController(IEventAttendeeRepository eventAttendeeRepository, IUserRepository userRepository)
 {
     this.eventAttendeeRepository = eventAttendeeRepository;
     this.userRepository          = userRepository;
 }