10 references to TestDelegate
Microsoft.AspNetCore.Routing.FunctionalTests (10)
EndpointRoutingIntegrationTest.cs (10)
41app.UseEndpoints(b => b.Map("/", TestDelegate)); 73app.UseEndpoints(b => b.Map("/", TestDelegate)); 105app.UseEndpoints(b => b.Map("/", TestDelegate).RequireAuthorization()); 136app.UseEndpoints(b => b.Map("/", TestDelegate).RequireAuthorization()); 167app.UseEndpoints(b => b.Map("/", TestDelegate).RequireAuthorization()); 198app.UseEndpoints(b => b.Map("/", TestDelegate).RequireAuthorization()); 228app.UseEndpoints(b => b.Map("/", TestDelegate).RequireAuthorization()); 260app.UseEndpoints(b => b.Map("/", TestDelegate).RequireCors(policy => policy.AllowAnyOrigin())); 292app.UseEndpoints(b => b.MapPut("/", TestDelegate).RequireCors(policy => policy.AllowAnyOrigin().AllowAnyMethod())); 328app.UseEndpoints(b => b.Map("/", TestDelegate).RequireCors(policy => policy.AllowAnyOrigin()));