Beispiel #1
0
 public TeamPlayerDataWorker(IServiceProvider services, IntervalWorkerConfiguration config, Guid sourceId) : base(services, config)
 {
     _sourceId    = sourceId;
     _client      = services.GetRequiredService <HttpClient>();
     _updateStore = services.GetRequiredService <UpdateStore>();
     _playerStore = services.GetRequiredService <PlayerUpdateStore>();
     _db          = services.GetRequiredService <Database>();
     _clock       = services.GetRequiredService <IClock>();
 }
Beispiel #2
0
 public SQLiteExport(Database db, PlayerUpdateStore playerStore, GameStore gameStore, TeamUpdateStore teamStore, ILogger logger, GameUpdateStore gameUpdateStore)
 {
     _db              = db;
     _playerStore     = playerStore;
     _gameStore       = gameStore;
     _teamStore       = teamStore;
     _gameUpdateStore = gameUpdateStore;
     _logger          = logger.ForContext <SQLiteExport>();
 }
 public PlayerController(PlayerUpdateStore playerUpdateStore)
 {
     _playerUpdateStore = playerUpdateStore;
 }