コード例 #1
0
 public StreamReplay(UpdateStore updateStore, Database db, ILogger logger, GameUpdateStore gameUpdateStore)
 {
     _updateStore     = updateStore;
     _db              = db;
     _gameUpdateStore = gameUpdateStore;
     _logger          = logger.ForContext <StreamReplay>();
 }
コード例 #2
0
 public IlianaV2Importer(IServiceProvider services, Guid sourceId) : base(services)
 {
     _sourceId        = sourceId;
     _db              = services.GetRequiredService <Database>();
     _updateStore     = services.GetRequiredService <UpdateStore>();
     _gameUpdateStore = services.GetRequiredService <GameUpdateStore>();
 }
コード例 #3
0
 public IngestController(IConfiguration config, Database db, UpdateStore updateStore, ILogger logger, GameUpdateStore gameUpdateStore)
 {
     _config          = config;
     _db              = db;
     _logger          = logger.ForContext <IngestController>();
     _updateStore     = updateStore;
     _gameUpdateStore = gameUpdateStore;
 }
コード例 #4
0
ファイル: FlatFileExport.cs プロジェクト: xSke/Chronicler
 public FlatFileExport(UpdateStore updateStore, ILogger logger, GameUpdateStore gameUpdateStore,
                       GameStore gameStore)
 {
     _updateStore     = updateStore;
     _gameUpdateStore = gameUpdateStore;
     _gameStore       = gameStore;
     _logger          = logger.ForContext <FlatFileExport>();
 }
コード例 #5
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>();
 }
コード例 #6
0
ファイル: FutureGamesWorker.cs プロジェクト: xSke/Chronicler
 public FutureGamesWorker(IServiceProvider services, IntervalWorkerConfiguration config, Guid sourceId) : base(services, config)
 {
     _sourceId        = sourceId;
     _updateStore     = services.GetRequiredService <UpdateStore>();
     _gameUpdateStore = services.GetRequiredService <GameUpdateStore>();
     _db     = services.GetRequiredService <Database>();
     _client = services.GetRequiredService <HttpClient>();
     _clock  = services.GetRequiredService <IClock>();
 }
コード例 #7
0
        public GameLogsImporter(IServiceProvider services, Guid sourceId) : base(services)
        {
            _sourceId  = sourceId;
            FileFilter = "blaseball-log-*.json.gz";

            _db              = services.GetRequiredService <Database>();
            _updateStore     = services.GetRequiredService <UpdateStore>();
            _gameStore       = services.GetRequiredService <GameStore>();
            _gameUpdateStore = services.GetRequiredService <GameUpdateStore>();
        }
コード例 #8
0
 public StreamDataWorker(IServiceProvider services, Guid sourceId) : base(services)
 {
     _sourceId    = sourceId;
     _clock       = services.GetRequiredService <IClock>();
     _updateStore = services.GetRequiredService <UpdateStore>();
     _eventStream = services.GetRequiredService <EventStream>();
     _db          = services.GetRequiredService <Database>();
     _gameStore   = services.GetRequiredService <GameUpdateStore>();
     _clock       = services.GetRequiredService <IClock>();
 }
コード例 #9
0
 public GameUpdatesController(GameUpdateStore store)
 {
     _store = store;
 }