Beispiel #1
0
    private static async Task <PlayerProcessorConfig> readCloud()
    {
        S3JsonReader reader = new S3JsonReader();

        _log.Info(String.Format("Reading {0} {1}\n", GlobalConfig.S3Bucket, ConfigKey));
        return(await reader.Read <PlayerProcessorConfig>(ConfigKey));
    }
Beispiel #2
0
 public ProcessedPlayerProviderV3(int gameweek, ProcessedPlayerCollection inputPlayers = null)
 {
     _gameweek    = gameweek;
     _basePath    = getBasePath();
     _writer      = new S3JsonWriter();
     _reader      = new S3JsonReader();
     _playerCache = inputPlayers;
 }
Beispiel #3
0
    public async Task <AlertProcessorConfig> read()
    {
        S3JsonReader reader = new S3JsonReader();

        return(await reader.Read <AlertProcessorConfig>(createKey()));
    }
 public CloudAppConfigProvider()
 {
     _reader = new S3JsonReader();
     _writer = new S3JsonWriter();
 }