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