8 instantiations of EnableRateLimitingAttribute
Microsoft.AspNetCore.RateLimiting (2)
Microsoft.AspNetCore.RateLimiting.Tests (6)
RateLimitingMiddlewareTests.cs (4)
497var endpoint1 = new Endpoint(c => Task.CompletedTask, new EndpointMetadataCollection(new EnableRateLimitingAttribute(endpointName1)), "Test endpoint 1");
498var endpoint2 = new Endpoint(c => Task.CompletedTask, new EndpointMetadataCollection(new EnableRateLimitingAttribute(endpointName2)), "Test endpoint 2");
537context.SetEndpoint(new Endpoint(c => Task.CompletedTask, new EndpointMetadataCollection(new EnableRateLimitingAttribute(name), new DisableRateLimitingAttribute()), "Test endpoint"));
545context.SetEndpoint(new Endpoint(c => Task.CompletedTask, new EndpointMetadataCollection(new DisableRateLimitingAttribute(), new EnableRateLimitingAttribute(name)), "Test endpoint"));
14 references to EnableRateLimitingAttribute
Microsoft.AspNetCore.RateLimiting (10)
Microsoft.AspNetCore.RateLimiting.Tests (4)