public UnmuteHandler(
     INotificationFilter notificationFilter,
     ILog log) :
     base(nameof(UnmuteHandler), (int)TimeSpan.FromMinutes(1).TotalMilliseconds, log)
 {
     _notificationFilter = notificationFilter;
 }
Esempio n. 2
0
 public SlackNotifcationsConsumer(
     ISlackNotificationSender srvSlackNotifications,
     INotificationFilter notificationFilter,
     IMsgForwarder msgForwarder,
     ILog log)
 {
     _srvSlackNotifications = srvSlackNotifications;
     _notificationFilter    = notificationFilter;
     _msgForwarder          = msgForwarder;
     _log = log;
 }
 public FilterController(INotificationFilter notificationFilter)
 {
     _notificationFilter = notificationFilter;
 }
 public bool Apply(INotificationFilter filter, Account account, List<Subscription> subscriptions)
 {
     return true;
 }