Esempio n. 1
0
        static BattleNetFunctions()
        {
            var authkey = $"{Environment.GetEnvironmentVariable("BattleNet_ClientId")}:{Environment.GetEnvironmentVariable("BattleNet_ClientSecret")}";

            _bNetService = new BattleNetService(new HttpClient(), authkey);
            _cache       = new MemoryCache(new MemoryCacheOptions());
        }
 public LeaderBoardController(IBattleNetService battleNetService)
 {
     _battleNetService = battleNetService;
 }