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