4 references to RateLimitingMetrics
Microsoft.AspNetCore.RateLimiting (4)
RateLimiterApplicationBuilderExtensions.cs (1)
49
if (serviceProviderIsService != null && !serviceProviderIsService.IsService(typeof(
RateLimitingMetrics
)))
RateLimiterServiceCollectionExtensions.cs (1)
40
services.AddSingleton<
RateLimitingMetrics
>();
RateLimitingMiddleware.cs (2)
20
private readonly
RateLimitingMetrics
_metrics;
35
public RateLimitingMiddleware(RequestDelegate next, ILogger<RateLimitingMiddleware> logger, IOptions<RateLimiterOptions> options, IServiceProvider serviceProvider,
RateLimitingMetrics
metrics)