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)
33
private object Lock =>
_limiters
;
94
if (!
_limiters
.TryGetValue(partition.PartitionKey, out limiter))
98
_limiters
.Add(partition.PartitionKey, limiter);
128
foreach (KeyValuePair<TKey, Lazy<RateLimiter>> limiter in
_limiters
)
140
_limiters
.Clear();
163
foreach (KeyValuePair<TKey, Lazy<RateLimiter>> limiter in
_limiters
)
175
_limiters
.Clear();
220
_cachedLimiters.AddRange(
_limiters
);
246
_limiters
.Remove(rateLimiter.Key);