public NagerDateRateLimitingClient(INagerDateClient innerClient, int maxConcurrentRequestsLimit) { _innerClient = innerClient; _throttler = new SemaphoreSlim(maxConcurrentRequestsLimit); }
public HolidayStatsCalculator(INagerDateClient nagerDateClient, string[] supportedCountryCodes) { _nagerDateClient = nagerDateClient; _supportedCountryCodes = supportedCountryCodes; }
public NagerDateDelayingClient(INagerDateClient innerClient, TimeSpan delay) { _innerClient = innerClient; _delay = delay; }
public NagerDateCachingClient(INagerDateClient innerClient) { _innerClient = innerClient; }