1 write to _limiters
System.Threading.RateLimiting (1)
System\Threading\RateLimiting\DefaultPartitionedRateLimiter.cs (1)
45_limiters = new Dictionary<TKey, Lazy<RateLimiter>>(equalityComparer);
9 references to _limiters
System.Threading.RateLimiting (9)
System\Threading\RateLimiting\DefaultPartitionedRateLimiter.cs (9)
33private object Lock => _limiters; 94if (!_limiters.TryGetValue(partition.PartitionKey, out limiter)) 98_limiters.Add(partition.PartitionKey, limiter); 128foreach (KeyValuePair<TKey, Lazy<RateLimiter>> limiter in _limiters) 140_limiters.Clear(); 163foreach (KeyValuePair<TKey, Lazy<RateLimiter>> limiter in _limiters) 175_limiters.Clear(); 220_cachedLimiters.AddRange(_limiters); 246_limiters.Remove(rateLimiter.Key);