1 instantiation of RequestRegistration
System.Threading.RateLimiting (1)
System\Threading\RateLimiting\ConcurrencyLimiter.cs (1)
185
var request = new
RequestRegistration
(permitCount, this, cancellationToken);
14 references to RequestRegistration
System.Threading.RateLimiting (14)
System\Threading\RateLimiting\ConcurrencyLimiter.cs (14)
25
private readonly Deque<
RequestRegistration
> _queue = new Deque<
RequestRegistration
>();
133
using var disposer = default(
RequestRegistration
.Disposer);
152
RequestRegistration
oldestRequest = _queue.DequeueHead();
185
var
request = new RequestRegistration(permitCount, this, cancellationToken);
234
using var disposer = default(
RequestRegistration
.Disposer);
251
RequestRegistration
nextPendingRequest =
330
using var disposer = default(
RequestRegistration
.Disposer);
340
RequestRegistration
next = _options.QueueProcessingOrder == QueueProcessingOrder.OldestFirst
422
private
RequestRegistration
? _next;
446
if (state is
RequestRegistration
registration && registration.TrySetCanceled(registration._cancellationToken))
468
private
RequestRegistration
? _next;
470
public void Add(
RequestRegistration
request)
478
for (
var
current = _next; current is not null; current = current._next)