1 instantiation of RequestRegistration
System.Threading.RateLimiting (1)
System\Threading\RateLimiting\TokenBucketRateLimiter.cs (1)
208var registration = new RequestRegistration(tokenCount, this, cancellationToken);
15 references to RequestRegistration
System.Threading.RateLimiting (15)
System\Threading\RateLimiting\TokenBucketRateLimiter.cs (15)
28private readonly Deque<RequestRegistration> _queue = new Deque<RequestRegistration>(); 158using var disposer = default(RequestRegistration.Disposer); 175RequestRegistration oldestRequest = _queue.DequeueHead(); 208var registration = new RequestRegistration(tokenCount, this, cancellationToken); 290using var disposer = default(RequestRegistration.Disposer); 322Deque<RequestRegistration> queue = _queue; 327RequestRegistration nextPendingRequest = 400using var disposer = default(RequestRegistration.Disposer); 411RequestRegistration next = _options.QueueProcessingOrder == QueueProcessingOrder.OldestFirst 474private RequestRegistration? _next; 498if (state is RequestRegistration registration && registration.TrySetCanceled(registration._cancellationToken)) 520private RequestRegistration? _next; 522public void Add(RequestRegistration request) 530for (var current = _next; current is not null; current = current._next)