6 references to ShouldBeGreaterThan0
System.Threading.RateLimiting (6)
System\Threading\RateLimiting\ConcurrencyLimiter.cs (1)
45throw new ArgumentException(SR.Format(SR.ShouldBeGreaterThan0, nameof(options.PermitLimit)), nameof(options));
System\Threading\RateLimiting\FixedWindowRateLimiter.cs (1)
59throw new ArgumentException(SR.Format(SR.ShouldBeGreaterThan0, nameof(options.PermitLimit)), nameof(options));
System\Threading\RateLimiting\SlidingWindowRateLimiter.cs (2)
63throw new ArgumentException(SR.Format(SR.ShouldBeGreaterThan0, nameof(options.PermitLimit)), nameof(options)); 67throw new ArgumentException(SR.Format(SR.ShouldBeGreaterThan0, nameof(options.SegmentsPerWindow)), nameof(options));
System\Threading\RateLimiting\TokenBucketRateLimiter.cs (2)
54throw new ArgumentException(SR.Format(SR.ShouldBeGreaterThan0, nameof(options.TokenLimit)), nameof(options)); 58throw new ArgumentException(SR.Format(SR.ShouldBeGreaterThan0, nameof(options.TokensPerPeriod)), nameof(options));