5 writes to PolicyName
Microsoft.AspNetCore.RateLimiting (5)
RateLimiterOptionsExtensions.cs (4)
31
var key = new PolicyNameKey() {
PolicyName
= policyName };
60
var key = new PolicyNameKey() {
PolicyName
= policyName };
89
var key = new PolicyNameKey() {
PolicyName
= policyName };
114
var key = new PolicyNameKey() {
PolicyName
= policyName };
RateLimitingMiddleware.cs (1)
25
private readonly DefaultKeyType _defaultPolicyKey = new DefaultKeyType("__defaultPolicy", new PolicyNameKey {
PolicyName
= "__defaultPolicyKey" });
3 references to PolicyName
Microsoft.AspNetCore.RateLimiting (3)
PolicyNameKey.cs (3)
14
return
PolicyName
== key.
PolicyName
;
21
return
PolicyName
.GetHashCode();