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