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)); 137if (policyName is not null && _policyMap.TryGetValue(policyName, out policy) && policy.OnRejected is not null) 271if (_policyMap.TryGetValue(name, out policy))