1 write to _policyMap
Microsoft.AspNetCore.RateLimiting (1)
RateLimitingMiddleware.cs (1)
47
_policyMap
= new Dictionary<string, DefaultRateLimiterPolicy>(options.Value.PolicyMap);
3 references to _policyMap
Microsoft.AspNetCore.RateLimiting (3)
RateLimitingMiddleware.cs (3)
52
_policyMap
.Add(unactivatedPolicy.Key, unactivatedPolicy.Value(serviceProvider));
137
if (policyName is not null &&
_policyMap
.TryGetValue(policyName, out policy) && policy.OnRejected is not null)
271
if (
_policyMap
.TryGetValue(name, out policy))