Example #1
0
 public static PlayerProcessorConfig getInstance()
 {
     if (instance == null)
     {
         try {
             instance = readCloud().Result;
         }
         catch (Exception) {
             _log.Error(string.Format("PlayerProcessorConfig not found at {0}\n", ConfigKey));
             instance = new PlayerProcessorConfig();
         }
     }
     return(instance);
 }
Example #2
0
    public async Task <PlayerProcessorConfig> refresh()
    {
        instance = await readCloud();

        return(instance);
    }