1 write to PartitionKey
System.Threading.RateLimiting (1)
System\Threading\RateLimiting\RateLimitPartition.T.cs (1)
19
PartitionKey
= partitionKey;
5 references to PartitionKey
Microsoft.AspNetCore.RateLimiting (1)
RateLimiterOptions.cs (1)
114
var partitionKey = new DefaultKeyType(policyName, partition.
PartitionKey
, partition.Factory);
System.Threading.RateLimiting (4)
System\Threading\RateLimiting\DefaultPartitionedRateLimiter.cs (3)
94
if (!_limiters.TryGetValue(partition.
PartitionKey
, out limiter))
97
limiter = new Lazy<RateLimiter>(() => partition.Factory(partition.
PartitionKey
));
98
_limiters.Add(partition.
PartitionKey
, limiter);
System\Threading\RateLimiting\PartitionedRateLimiter.cs (1)
23
/// If the <see cref="RateLimitPartition{TKey}.
PartitionKey
"/> matches a cached entry then the rate limiter previously used for that key is used. Otherwise, the factory is called to get a new rate limiter.</param>