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)
77
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)
58
if (options.
PermitLimit
<= 0)
60
throw new ArgumentException(SR.Format(SR.ShouldBeGreaterThan0, nameof(options.
PermitLimit
)), nameof(options));
77
PermitLimit = options.
PermitLimit
,
85
_permitCount = options.
PermitLimit
;
117
if (permitCount > _options.
PermitLimit
)
119
throw new ArgumentOutOfRangeException(nameof(permitCount), permitCount, SR.Format(SR.PermitLimitExceeded, permitCount, _options.
PermitLimit
));
152
if (permitCount > _options.
PermitLimit
)
154
throw new ArgumentOutOfRangeException(nameof(permitCount), permitCount, SR.Format(SR.PermitLimitExceeded, permitCount, _options.
PermitLimit
));
319
Debug.Assert(_permitCount <= _options.
PermitLimit
);
384
if (_permitCount == _options.
PermitLimit
)