1 instantiation of RequestRegistration
System.Threading.RateLimiting (1)
System\Threading\RateLimiting\FixedWindowRateLimiter.cs (1)
204var registration = new RequestRegistration(permitCount, this, cancellationToken);
14 references to RequestRegistration
System.Threading.RateLimiting (14)
System\Threading\RateLimiting\FixedWindowRateLimiter.cs (14)
27private readonly Deque<RequestRegistration> _queue = new Deque<RequestRegistration>(); 154using var disposer = default(RequestRegistration.Disposer); 171RequestRegistration oldestRequest = _queue.DequeueHead(); 204var registration = new RequestRegistration(permitCount, this, cancellationToken); 284using var disposer = default(RequestRegistration.Disposer); 314RequestRegistration nextPendingRequest = 387using var disposer = default(RequestRegistration.Disposer); 398RequestRegistration next = _options.QueueProcessingOrder == QueueProcessingOrder.OldestFirst 461private RequestRegistration? _next; 485if (state is RequestRegistration registration && registration.TrySetCanceled(registration._cancellationToken)) 507private RequestRegistration? _next; 509public void Add(RequestRegistration request) 517for (var current = _next; current is not null; current = current._next)