4 references to RateLimitPartition
Microsoft.AspNetCore.RateLimiting (1)
RateLimiterOptions.cs (1)
115
return new
RateLimitPartition
<DefaultKeyType>(partitionKey, static key => ((Func<TPartitionKey, RateLimiter>)key.Factory!)((TPartitionKey)key.Key!));
Microsoft.AspNetCore.RateLimiting.Tests (2)
RateLimitingMiddlewareTests.cs (2)
475
return new
RateLimitPartition
<string>(duplicateKey, partitionKey =>
482
return new
RateLimitPartition
<string>(duplicateKey, partitionKey =>
System.Threading.RateLimiting (1)
System\Threading\RateLimiting\RateLimitPartition.cs (1)
25
return new
RateLimitPartition
<TKey>(partitionKey, factory);