40 references to WithDisplayName
Microsoft.AspNetCore.Components.Endpoints (2)
Microsoft.AspNetCore.Components.Server (4)
Microsoft.AspNetCore.Diagnostics.HealthChecks (1)
Microsoft.AspNetCore.Routing (1)
Microsoft.AspNetCore.Routing.Tests (11)
Microsoft.AspNetCore.Tests (19)
WebApplicationTests.cs (19)
1696}).WithDisplayName("One");
1732}).WithDisplayName("One");
1864app.MapGet("/", () => "Hello World!").WithDisplayName("One");
1868routes.MapGet("/hi", () => "Hi World").WithDisplayName("Two");
1869routes.MapGet("/heyo", () => "Heyo World").WithDisplayName("Three");
1899app.MapGet("/", () => "Hello World").WithDisplayName("One");
1903endpoints.MapGet("/hi", () => "Hello Endpoints").WithDisplayName("Two");
1930}).WithDisplayName("One");
1955app.MapGet("/", () => "Hello World!").WithDisplayName("One");
1963}).WithDisplayName("Two");
1964routes.MapGet("/heyo", () => "Heyo World").WithDisplayName("Three");
1977}).WithDisplayName("Four");
1982}).WithDisplayName("Five");
2551app.MapGet("/products/{productId:regex(^[a-z]{{4}}\\d{{4}}$)}", (string productId) => productId).WithDisplayName("RegexRoute");
2577app.MapGet("/products/{productId:alpha:minlength(4):maxlength(4)}", (string productId) => productId).WithDisplayName("AlphaRoute");
2595app.MapGet("/products/{productId:regex(^[a-z]{{4}}\\d{{4}}$)}", (string productId) => productId).WithDisplayName("AlphaRoute");
2630app.MapGet("/products/{productId:regex(^[a-z]{{4}}\\d{{4}}$)}", (string productId) => productId).WithDisplayName("RegexRoute");
2660app.MapGet("/products/{productId:regex(^[a-z]{{4}}\\d{{4}}$)}", (string productId) => productId).WithDisplayName("RegexRoute");
3170}).WithDisplayName("Two");
RoutingSandbox (1)
RoutingWebSite (1)