Exemplo n.º 1
0
 public DisplayUpdaterService(DisplayService displayService, ILogger <DisplayUpdaterService> logger, FeederWatcherLogic feederWatcher)
 {
     this.displayService = displayService;
     this.logger         = logger;
     sub = feederWatcher.Subscribe(this);
 }
 public KeyBoardWatcherService(FeederWatcherLogic watcherLogic, ILogger <KeyBoardWatcherService> logger)
 {
     this.watcherLogic = watcherLogic ?? throw new ArgumentNullException(nameof(watcherLogic));
     this.logger       = logger;
 }