1 instantiation of SampleRateLimiterPolicy
RateLimitingSample (1)
Program.cs (1)
34
.AddPolicy<string>(completeName, new
SampleRateLimiterPolicy
(NullLogger<SampleRateLimiterPolicy>.Instance))
4 references to SampleRateLimiterPolicy
RateLimitingSample (4)
Program.cs (2)
34
.AddPolicy<string>(completeName, new SampleRateLimiterPolicy(NullLogger<
SampleRateLimiterPolicy
>.Instance))
35
.AddPolicy<string,
SampleRateLimiterPolicy
>(helloName);
SampleRateLimiterPolicy.cs (2)
13
public SampleRateLimiterPolicy(ILogger<
SampleRateLimiterPolicy
> logger)
18
logger.LogInformation($"Request rejected by {nameof(
SampleRateLimiterPolicy
)}");