Пример #1
0
 /// <inheritdoc />
 public SubscriptionsActionHandler(
     IMessageLocalizer <BotResources> localizer,
     ILoggerFactory loggerFactory,
     ITransport <SendTelegramReply> reply,
     ISubscriptionsStore subscriptionsStore) : base(localizer, loggerFactory, reply)
 {
     _subscriptionsStore = subscriptionsStore;
 }
Пример #2
0
 public OrphanSubscriptionsCleanupJob(
     ISubscriptionsStore subscriptionsStore,
     IChannelStore channelStore,
     ILogger <OrphanSubscriptionsCleanupJob> logger)
 {
     _subscriptionsStore = subscriptionsStore;
     _channelStore       = channelStore;
     _logger             = logger;
 }
 public AlertManagerUpdateRequestHandler(
     ITemplateEngine templateEngine,
     IChannelStore channelStore,
     ITemplatesStore templatesStore,
     ISubscriptionsStore subscriptionsStore,
     IMediator mediator)
 {
     _templateEngine     = templateEngine;
     _channelStore       = channelStore;
     _templatesStore     = templatesStore;
     _subscriptionsStore = subscriptionsStore;
     _mediator           = mediator;
 }
 public ActiveSubscriptionsMetricsCollector(ISubscriptionsStore subscriptionsStore, IMetrics metrics)
 {
     _subscriptionsStore = subscriptionsStore;
     _metrics            = metrics;
 }