///  <summary>   Constructor. </summary>
 ///
 ///  <param name="processesStore">   The processes store. </param>
 /// <param name="notificationsProcessor">   The processes monitor. </param>
 /// <param name="loggerFactory">    The logger factory. </param>
 ///  <param name="configuration">    The service configuration. </param>
 public ProcessRefresherService(IProcessesStore processesStore, INotificationsProcessor notificationsProcessor,
                                ILoggerFactory loggerFactory, IRefreshingServiceConfiguration configuration)
 {
     ProcessesStore         = processesStore;
     NotificationsProcessor = notificationsProcessor;
     Configuration          = configuration;
     Logger = loggerFactory.CreateLogger("RequestInfoLogger");;
 }
        /// <summary>   Constructor. </summary>
        ///
        /// <param name="processesesMonitor">   The processes monitor. </param>
        /// <param name="loggerFactory">    The logger factory. </param>
        /// <param name="configuration">    The configuration. </param>
        /// <param name="listenerAdapter">  The listener adapter. </param>

        public NotificationsService(INotificationsProcessor processesesMonitor, ILoggerFactory loggerFactory,
                                    INotificationServiceConfiguration configuration, IListenerAdapter listenerAdapter)
        {
            ProcessesesMonitor = processesesMonitor;
            Logger             = loggerFactory.CreateLogger("TestLogger");
            Configuration      = configuration;
            ListenerAdapter    = listenerAdapter;
        }
 public ConcurrentDelayedNotificator(DelayedNotificatorConfig config, INotificationsProcessor <T> notificationProcessor)
 {
     Interval = TimeSpan.FromSeconds(config.DelayInSeconds);
     NotificationProcessor = notificationProcessor;
 }