36 references to WithDisplayName
Microsoft.AspNetCore.Components.Server (2)
Builder\ComponentEndpointRouteBuilderExtensions.cs (2)
81.WithDisplayName("Blazor disconnect"); 86.WithDisplayName("Blazor initializers");
Microsoft.AspNetCore.Diagnostics.HealthChecks (1)
Builder\HealthCheckEndpointRouteBuilderExtensions.cs (1)
71return endpoints.Map(pattern, pipeline).WithDisplayName(DefaultDisplayName);
Microsoft.AspNetCore.Routing (1)
Builder\FallbackEndpointRouteBuilderExtensions.cs (1)
78conventionBuilder.WithDisplayName("Fallback " + pattern);
Microsoft.AspNetCore.Routing.Tests (11)
Builder\EndpointRoutingApplicationBuilderExtensionsTest.cs (9)
193builder.Map("/1", d => null).WithDisplayName("Test endpoint 1"); 194builder.Map("/2", d => null).WithDisplayName("Test endpoint 2"); 200builder.Map("/3", d => null).WithDisplayName("Test endpoint 3"); 201builder.Map("/4", d => null).WithDisplayName("Test endpoint 4"); 258builder.Map("/1", d => null).WithDisplayName("Test endpoint 1"); 259builder.Map("/2", d => null).WithDisplayName("Test endpoint 2"); 265builder.Map("/3", d => null).WithDisplayName("Test endpoint 3"); 266builder.Map("/4", d => null).WithDisplayName("Test endpoint 4"); 314endpoints.Map("/1", d => Task.CompletedTask).WithDisplayName("Test endpoint 1");
Builder\RoutingEndpointConventionBuilderExtensionsTest.cs (2)
69builder.WithDisplayName("test"); 83var chainedBuilder = builder.WithDisplayName("test");
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)
UseEndpointRoutingStartup.cs (1)
76}).WithDisplayName("DFA Graph");
RoutingWebSite (1)
HelloExtension\EndpointRouteBuilderExtensions.cs (1)
16return endpoints.Map(template, pipeline).WithDisplayName("Hello " + greeter);