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>(); }
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; }