Exemplo n.º 1
0
 public CachedRefBotClient(IRefBotClient client, ICache <string> cache)
 {
     _client = client;
     _cache  = cache;
 }
 public RateLimitedRefBotClient(IRefBotClient client, int max)
 {
     _client    = client;
     _semaphore = new SemaphoreSlim(0, max);
 }