1 instantiation of RequestRegistration
System.Threading.RateLimiting (1)
System\Threading\RateLimiting\FixedWindowRateLimiter.cs (1)
203var 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>(); 153using var disposer = default(RequestRegistration.Disposer); 170RequestRegistration oldestRequest = _queue.DequeueHead(); 203var registration = new RequestRegistration(permitCount, this, cancellationToken); 283using var disposer = default(RequestRegistration.Disposer); 313RequestRegistration nextPendingRequest = 386using var disposer = default(RequestRegistration.Disposer); 397RequestRegistration next = _options.QueueProcessingOrder == QueueProcessingOrder.OldestFirst 460private RequestRegistration? _next; 484if (state is RequestRegistration registration && registration.TrySetCanceled(registration._cancellationToken)) 506private RequestRegistration? _next; 508public void Add(RequestRegistration request) 516for (var current = _next; current is not null; current = current._next)