1 instantiation of RequestRegistration
System.Threading.RateLimiting (1)
System\Threading\RateLimiting\SlidingWindowRateLimiter.cs (1)
215var 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>(); 165using var disposer = default(RequestRegistration.Disposer); 182RequestRegistration oldestRequest = _queue.DequeueHead(); 215var registration = new RequestRegistration(permitCount, this, cancellationToken); 289using var disposer = default(RequestRegistration.Disposer); 323RequestRegistration nextPendingRequest = 399using var disposer = default(RequestRegistration.Disposer); 410RequestRegistration next = _options.QueueProcessingOrder == QueueProcessingOrder.OldestFirst 473private RequestRegistration? _next; 497if (state is RequestRegistration registration && registration.TrySetCanceled(registration._cancellationToken)) 519private RequestRegistration? _next; 521public void Add(RequestRegistration request) 529for (var current = _next; current is not null; current = current._next)