public ApplicationCreatedEventHandler( IEventPublisher eventPublisher, IPushNotificationSender pushNotificationSender) { _eventPublisher = eventPublisher; _pushNotificationSender = pushNotificationSender; }
public PushNotificationsController( IAsyncDocumentSession dbSession, ILogger <PushNotificationsController> logger, IPushNotificationSender pushSender) : base(dbSession, logger) { this.pushSender = pushSender; }
public PushNotificationCoordinator(ILog log, INotificationHistoryRepository notificationHistoryRepository, IUserSubscriptionRepository userSubscriptionRepository, IEnumerable <IGetNewNotifications> notificationMakers, IPushNotificationSender pushNotificationSender) // Ninject will bind all instances { _log = log; _notificationHistoryRepository = notificationHistoryRepository; _userSubscriptionRepository = userSubscriptionRepository; _notificationMakers = notificationMakers; _pushNotificationSender = pushNotificationSender; }
public ApplicationProcessFinishedEventPublisher( IEventPublisher eventPublisher, IMapper mapper, IPushNotificationSender pushNotificationSender) { _eventPublisher = eventPublisher; _mapper = mapper; _pushNotificationSender = pushNotificationSender; }
public IftttController( IOptionsMonitor <AppSettings> appOptions, IPushNotificationSender pushNotifications, IAsyncDocumentSession dbSession, ILogger <IftttController> logger) : base(dbSession, logger) { this.appOptions = appOptions.CurrentValue; this.pushNotifications = pushNotifications; }
public PushNotificationService( IMemberService memberService, IChannelService channelService, IPushNotificationSender pushNotificationSender, IPushNotificationSubscriber pushNotificationSubscriber) { _memberService = memberService; _channelService = channelService; _pushNotificationSender = pushNotificationSender; _pushNotificationSubscriber = pushNotificationSubscriber; }
public NotificationService(IPushNotificationSender pushNotificationSender, IEmailSender emailSender, IUnitOfWork uow, IMapper mapper, ILogger <NotificationService> logger) { _pushNotificationSender = pushNotificationSender; _emailSender = emailSender; _uow = uow; _mapper = mapper; _logger = logger; }
public Application(ILifetimeScope scope, ILogger logger, AdvertsContext advertsContext, AdvertsErrorChecker advertsErrorChecker, AdvertSender advertSender, IPushNotificationSender pushNotificationSender) { _scope = scope; _logger = logger; _advertsContext = advertsContext; _advertsErrorChecker = advertsErrorChecker; _advertSender = advertSender; _pushNotificationSender = pushNotificationSender; _timer = new Timer { AutoReset = true }; _timer.Elapsed += OnTimedEvent; _timerPushSender = new Timer { AutoReset = true }; _timerPushSender.Elapsed += OnPushSenderTimedEvent; }
public AdvertSender(IPushNotificationSender pushNotificationSender, ILogger logger, AdvertsContext context) { _pushNotificationSender = pushNotificationSender; _logger = logger; _context = context; }