3 writes to PermitLimit
RateLimitingSample (1)
SampleRateLimiterPolicy.cs (1)
30PermitLimit = 1,
System.Threading.RateLimiting (2)
System\Threading\RateLimiting\RateLimitPartition.cs (1)
110PermitLimit = options.PermitLimit,
System\Threading\RateLimiting\SlidingWindowRateLimiter.cs (1)
76PermitLimit = options.PermitLimit,
11 references to PermitLimit
System.Threading.RateLimiting (11)
System\Threading\RateLimiting\RateLimitPartition.cs (1)
110PermitLimit = options.PermitLimit,
System\Threading\RateLimiting\SlidingWindowRateLimiter.cs (10)
57if (options.PermitLimit <= 0) 59throw new ArgumentException(SR.Format(SR.ShouldBeGreaterThan0, nameof(options.PermitLimit)), nameof(options)); 76PermitLimit = options.PermitLimit, 84_permitCount = options.PermitLimit; 116if (permitCount > _options.PermitLimit) 118throw new ArgumentOutOfRangeException(nameof(permitCount), permitCount, SR.Format(SR.PermitLimitExceeded, permitCount, _options.PermitLimit)); 151if (permitCount > _options.PermitLimit) 153throw new ArgumentOutOfRangeException(nameof(permitCount), permitCount, SR.Format(SR.PermitLimitExceeded, permitCount, _options.PermitLimit)); 318Debug.Assert(_permitCount <= _options.PermitLimit); 383if (_permitCount == _options.PermitLimit)