public NewNotificationMessageService( INotificationModelMapper <UiNotifierTemplate, UiNotificationMessage> notificationModelMapper, INotificationSettingsService notificationSettingsService, IIntranetMemberService <IIntranetMember> intranetMemberService) { _notificationModelMapper = notificationModelMapper; _notificationSettingsService = notificationSettingsService; _intranetMemberService = intranetMemberService; }
public MemberController(IMemberService memberService, IChannelService channelService, IPushNotificationService pushNotificationService, INotificationSettingsService notificationSettingsService) { _memberService = memberService; _channelService = channelService; _pushNotificationService = pushNotificationService; _notificationSettingsService = notificationSettingsService; }
/// <summary> /// Initializes a new instance of the <see cref="SendValidatedUsersToPHSA"/> class. /// </summary> /// <param name="configuration">The configuration to use.</param> /// <param name="logger">The logger to use.</param> /// <param name="dbContext">The db context to use.</param> /// <param name="notificationSettingsService">The notification settings service.</param> public SendValidatedUsersToPHSA( IConfiguration configuration, ILogger <SendValidatedUsersToPHSA> logger, GatewayDbContext dbContext, INotificationSettingsService notificationSettingsService) { this.configuration = configuration; this.logger = logger; this.dbContext = dbContext; this.notificationSettingsService = notificationSettingsService; }
/// <summary> /// Initializes a new instance of the <see cref="UserSMSService"/> class. /// </summary> /// <param name="logger">Injected Logger Provider.</param> /// <param name="messageVerificationDelegate">The message verification delegate to interact with the DB.</param> /// <param name="profileDelegate">The profile delegate to interact with the DB.</param> /// <param name="notificationSettingsService">Notification settings delegate.</param> public UserSMSService( ILogger <UserSMSService> logger, IMessagingVerificationDelegate messageVerificationDelegate, IUserProfileDelegate profileDelegate, INotificationSettingsService notificationSettingsService) { this.logger = logger; this.messageVerificationDelegate = messageVerificationDelegate; this.profileDelegate = profileDelegate; this.notificationSettingsService = notificationSettingsService; }
protected NotificationSettingsApiControllerBase( INotificationSettingsService notificationSettingsService, IActivityTypeProvider activityTypeProvider, INotificationTypeProvider notificationTypeProvider, INotifierTypeProvider notifierTypeProvider) { _notificationSettingsService = notificationSettingsService; _activityTypeProvider = activityTypeProvider; _notificationTypeProvider = notificationTypeProvider; _notifierTypeProvider = notifierTypeProvider; }
public PopupNotifierService( INotificationSettingsService notificationSettingsService, IIntranetUserService <IIntranetUser> intranetUserService, INotificationModelMapper <PopupNotifierTemplate, PopupNotificationMessage> notificationModelMapper, IPopupNotificationService notificationsService ) { _notificationSettingsService = notificationSettingsService; _intranetUserService = intranetUserService; _notificationModelMapper = notificationModelMapper; _notificationsService = notificationsService; }
public MailNotifierService( IMailService mailService, IIntranetMemberService <IntranetMember> intranetMemberService, INotificationModelMapper <EmailNotifierTemplate, EmailNotificationMessage> notificationModelMapper, INotificationSettingsService notificationSettingsService, ISqlRepository <Sql.Notification> notificationRepository) { _mailService = mailService; _intranetMemberService = intranetMemberService; _notificationModelMapper = notificationModelMapper; _notificationSettingsService = notificationSettingsService; _notificationRepository = notificationRepository; }
/// <summary> /// Initializes a new instance of the <see cref="DependentService"/> class. /// </summary> /// <param name="logger">Injected Logger Provider.</param> /// <param name="userProfileDelegate">The profile delegate to interact with the DB.</param> /// <param name="patientService">The injected patient registry provider.</param> /// <param name="notificationSettingsService">Notification settings service.</param> /// <param name="userDelegateDelegate">The User Delegate delegate to interact with the DB.</param> public DependentService( ILogger <DependentService> logger, IUserProfileDelegate userProfileDelegate, IPatientService patientService, INotificationSettingsService notificationSettingsService, IUserDelegateDelegate userDelegateDelegate) { this.logger = logger; this.patientService = patientService; this.userDelegateDelegate = userDelegateDelegate; this.notificationSettingsService = notificationSettingsService; this.userProfileDelegate = userProfileDelegate; }
public UiNotifierService( INotificationModelMapper <UiNotifierTemplate, UiNotificationMessage> notificationModelMapper, INotificationModelMapper <DesktopNotifierTemplate, DesktopNotificationMessage> desktopNotificationModelMapper, INotificationSettingsService notificationSettingsService, IIntranetMemberService <IntranetMember> intranetMemberService, IUiNotificationService notificationsService) { _notificationModelMapper = notificationModelMapper; _notificationSettingsService = notificationSettingsService; _intranetMemberService = intranetMemberService; _notificationsService = notificationsService; _desktopNotificationModelMapper = desktopNotificationModelMapper; }
protected MonthlyEmailServiceBase(IMailService mailService, IIntranetMemberService <IntranetMember> intranetMemberService, ILogger logger, INotificationSettingsService notificationSettingsService, IApplicationSettings applicationSettings) { _mailService = mailService; _intranetMemberService = intranetMemberService; _logger = logger; _notificationSettingsService = notificationSettingsService; _applicationSettings = applicationSettings; }
public NotificationSettingsMigrationStep( UmbracoHelper umbracoHelper, IDocumentTypeAliasProvider documentTypeAliasProvider, INotificationSettingsService notificationSettingsService, IExceptionLogger exceptionLogger, IContentService contentService) { _umbracoHelper = umbracoHelper; _documentTypeAliasProvider = documentTypeAliasProvider; _notificationSettingsService = notificationSettingsService; _exceptionLogger = exceptionLogger; _contentService = contentService; _mailTemplates = GetMailTemplates(); }
/// <summary> /// Initializes a new instance of the <see cref="DependentService"/> class. /// </summary> /// <param name="logger">Injected Logger Provider.</param> /// <param name="userProfileDelegate">The profile delegate to interact with the DB.</param> /// <param name="patientService">The injected patient registry provider.</param> /// <param name="notificationSettingsService">Notification settings service.</param> /// <param name="resourceDelegateDelegate">The ResourceDelegate delegate to interact with the DB.</param> /// <param name="configuration">The configuration service.</param> public DependentService( ILogger <DependentService> logger, IUserProfileDelegate userProfileDelegate, IPatientService patientService, INotificationSettingsService notificationSettingsService, IResourceDelegateDelegate resourceDelegateDelegate, IConfigurationService configuration) { this.logger = logger; this.patientService = patientService; this.resourceDelegateDelegate = resourceDelegateDelegate; this.notificationSettingsService = notificationSettingsService; this.userProfileDelegate = userProfileDelegate; this.configurationService = configuration; }
public DashboardController(ClaimAccessor claimAccessor , IUserService userService , INotificationSettingsService notificationSettingsService , IHostingEnvironment env , IEmailVerificationService emailVerificationService , ICommunitiesService communitiesService , IAssociationsSettingService associationsSettingService ) { _userService = userService; _claimAccessor = claimAccessor; _notificationSettingsService = notificationSettingsService; _emailVerificationService = emailVerificationService; _env = env; _communitiesService = communitiesService; _associationsSettingService = associationsSettingService; }
/// <summary> /// Initializes a new instance of the <see cref="UserEmailService"/> class. /// </summary> /// <param name="logger">Injected Logger Provider.</param> /// <param name="messageVerificationDelegate">The message verification delegate to interact with the DB.</param> /// <param name="profileDelegate">The profile delegate to interact with the DB.</param> /// <param name="emailQueueService">The email service to queue emails.</param> /// <param name="notificationSettingsService">Notification settings delegate.</param> /// <param name="configuration">Configuration settings.</param> /// <param name="httpContextAccessor">The injected http context accessor provider.</param> public UserEmailService( ILogger <UserEmailService> logger, IMessagingVerificationDelegate messageVerificationDelegate, IUserProfileDelegate profileDelegate, IEmailQueueService emailQueueService, INotificationSettingsService notificationSettingsService, IConfiguration configuration, IHttpContextAccessor httpContextAccessor) { this.logger = logger; this.messageVerificationDelegate = messageVerificationDelegate; this.profileDelegate = profileDelegate; this.emailQueueService = emailQueueService; this.notificationSettingsService = notificationSettingsService; this.emailVerificationExpirySeconds = configuration.GetSection(this.webClientConfigSection).GetValue <int>(this.emailConfigExpirySecondsKey, 5); this.httpContextAccessor = httpContextAccessor; }
public EmployeesService( IEmployeeRepository repository, IMapper mapper, IOvertimeUtility overtimeUtility, ITimeService timeService, IUserService userService, INotificationSettingsService notificationSettingsService, IConfiguration configuration ) { _repository = repository; _mapper = mapper; _userService = userService; _timeService = timeService; _overtimeUtility = overtimeUtility; _notificationSettingsService = notificationSettingsService; _configuration = configuration; }
public MonthlyEmailService(IMailService mailService, IIntranetMemberService <IntranetMember> intranetMemberService, ILogger logger, ISocialService <Social.Entities.Social> bulletinsService, IEventsService <Event> eventsService, INewsService <News.Entities.News> newsService, IUserTagRelationService userTagService, IActivityLinkService activityLinkService, INotificationSettingsService notificationSettingsService, INotificationModelMapper <EmailNotifierTemplate, EmailNotificationMessage> notificationModelMapper, IApplicationSettings applicationSettings) : base(mailService, intranetMemberService, logger, notificationSettingsService, applicationSettings) { _bulletinsService = bulletinsService; _eventsService = eventsService; _newsService = newsService; _userTagService = userTagService; _activityLinkService = activityLinkService; _notificationModelMapper = notificationModelMapper; }
public MessageSocketService( IMemberService memberService, IMessageService messageService, IChannelService channelService, IChannelMemberService channelMemberService, IMessageNotificationService messageNotificationService, INotificationSettingsService notificationSettingsService, IPushNotificationService pushNotificationService) { Ensure.That(memberService).IsNotNull(); Ensure.That(messageService).IsNotNull(); Ensure.That(channelService).IsNotNull(); Ensure.That(messageNotificationService).IsNotNull(); _memberService = memberService; _messageService = messageService; _channelService = channelService; _channelMemberService = channelMemberService; _messageNotificationService = messageNotificationService; _notificationSettingsService = notificationSettingsService; _pushNotificationService = pushNotificationService; }
public NotificationSettingsController(INotificationSettingsService notificationSettingsService) { _notificationSettingsService = notificationSettingsService; }
public DisableMemberNotificationStep(INotificationSettingsService notificationSettingsService) { _notificationSettingsService = notificationSettingsService; }
/// <summary> /// Initializes a new instance of the <see cref="SamplesController"/> class. /// </summary> /// <param name="service"> /// Samples service /// </param> public NotificationSettingsController(INotificationSettingsService service) { _service = service; }
public UserNotificationSettingsService(IDatabaseConnectionFactory databaseConnectionFactory, INotificationSettingsService notifications) : base(databaseConnectionFactory) { _databaseConnectionFactory = databaseConnectionFactory ?? throw new ArgumentNullException(nameof(databaseConnectionFactory)); _notifications = notifications; }