1 instantiation of LimiterEntry
System.Threading.RateLimiting (1)
System\Threading\RateLimiting\DefaultPartitionedRateLimiter.cs (1)
101entry = new Lazy<LimiterEntry>(() => new LimiterEntry(partition.Factory(partition.PartitionKey)));
11 references to LimiterEntry
System.Threading.RateLimiting (11)
System\Threading\RateLimiting\DefaultPartitionedRateLimiter.cs (11)
19private readonly Dictionary<TKey, Lazy<LimiterEntry>> _limiters; 26private readonly List<KeyValuePair<TKey, Lazy<LimiterEntry>>> _cachedLimiters = new(); 45_limiters = new Dictionary<TKey, Lazy<LimiterEntry>>(equalityComparer); 90Lazy<LimiterEntry>? entry; 101entry = new Lazy<LimiterEntry>(() => new LimiterEntry(partition.Factory(partition.PartitionKey))); 108LimiterEntry limiterEntry = entry.Value; 144foreach (KeyValuePair<TKey, Lazy<LimiterEntry>> limiter in _limiters) 179foreach (KeyValuePair<TKey, Lazy<LimiterEntry>> limiter in _limiters) 244foreach (KeyValuePair<TKey, Lazy<LimiterEntry>> rateLimiter in _cachedLimiters) 250LimiterEntry limiterEntry = rateLimiter.Value.Value; 305private static TimeSpan? GetIdleDuration(LimiterEntry limiterEntry)