1 instantiation of RequestRegistration
System.Threading.RateLimiting (1)
System\Threading\RateLimiting\SlidingWindowRateLimiter.cs (1)
216var registration = new RequestRegistration(permitCount, this, cancellationToken);
14 references to RequestRegistration
System.Threading.RateLimiting (14)
System\Threading\RateLimiting\SlidingWindowRateLimiter.cs (14)
30private readonly Deque<RequestRegistration> _queue = new Deque<RequestRegistration>(); 166using var disposer = default(RequestRegistration.Disposer); 183RequestRegistration oldestRequest = _queue.DequeueHead(); 216var registration = new RequestRegistration(permitCount, this, cancellationToken); 290using var disposer = default(RequestRegistration.Disposer); 324RequestRegistration 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)