public LoRPollWatcher(
            IGameClient loRClient,
            IActiveGameCache activeGameCache,
            IActiveExpeditionCache activeExpeditionCache,
            IGameStateCache gameStateCache,
            IWatcherDataStore watcherDataStore,
            ILogger logger)
        {
            this.GameId = null;
            this.CanUpdateActiveMatch = true;

            this.loRClient             = loRClient;
            this.activeGameCache       = activeGameCache;
            this.activeExpeditionCache = activeExpeditionCache;
            this.gameStateCache        = gameStateCache;
            this.watcherDataStore      = watcherDataStore;
            this.logger = logger;

            this.SetDefaults();
        }
Beispiel #2
0
 public TrayIcon(IServiceProvider serviceProvider, IGameStateCache gameStateCache, ILogger logger)
 {
     this.serviceProvider = serviceProvider;
     this.gameStateCache  = gameStateCache;
     this.logger          = logger;
 }