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)
71
return endpoints.Map(pattern, pipeline).
WithDisplayName
(DefaultDisplayName);
Microsoft.AspNetCore.Routing (1)
Builder\FallbackEndpointRouteBuilderExtensions.cs (1)
78
conventionBuilder.
WithDisplayName
("Fallback " + pattern);
Microsoft.AspNetCore.Routing.Tests (11)
Builder\EndpointRoutingApplicationBuilderExtensionsTest.cs (9)
193
builder.Map("/1", d => null).
WithDisplayName
("Test endpoint 1");
194
builder.Map("/2", d => null).
WithDisplayName
("Test endpoint 2");
200
builder.Map("/3", d => null).
WithDisplayName
("Test endpoint 3");
201
builder.Map("/4", d => null).
WithDisplayName
("Test endpoint 4");
258
builder.Map("/1", d => null).
WithDisplayName
("Test endpoint 1");
259
builder.Map("/2", d => null).
WithDisplayName
("Test endpoint 2");
265
builder.Map("/3", d => null).
WithDisplayName
("Test endpoint 3");
266
builder.Map("/4", d => null).
WithDisplayName
("Test endpoint 4");
314
endpoints.Map("/1", d => Task.CompletedTask).
WithDisplayName
("Test endpoint 1");
Builder\RoutingEndpointConventionBuilderExtensionsTest.cs (2)
69
builder.
WithDisplayName
("test");
83
var chainedBuilder = builder.
WithDisplayName
("test");
Microsoft.AspNetCore.Tests (19)
WebApplicationTests.cs (19)
1696
}).
WithDisplayName
("One");
1732
}).
WithDisplayName
("One");
1864
app.MapGet("/", () => "Hello World!").
WithDisplayName
("One");
1868
routes.MapGet("/hi", () => "Hi World").
WithDisplayName
("Two");
1869
routes.MapGet("/heyo", () => "Heyo World").
WithDisplayName
("Three");
1899
app.MapGet("/", () => "Hello World").
WithDisplayName
("One");
1903
endpoints.MapGet("/hi", () => "Hello Endpoints").
WithDisplayName
("Two");
1930
}).
WithDisplayName
("One");
1955
app.MapGet("/", () => "Hello World!").
WithDisplayName
("One");
1963
}).
WithDisplayName
("Two");
1964
routes.MapGet("/heyo", () => "Heyo World").
WithDisplayName
("Three");
1977
}).
WithDisplayName
("Four");
1982
}).
WithDisplayName
("Five");
2551
app.MapGet("/products/{productId:regex(^[a-z]{{4}}\\d{{4}}$)}", (string productId) => productId).
WithDisplayName
("RegexRoute");
2577
app.MapGet("/products/{productId:alpha:minlength(4):maxlength(4)}", (string productId) => productId).
WithDisplayName
("AlphaRoute");
2595
app.MapGet("/products/{productId:regex(^[a-z]{{4}}\\d{{4}}$)}", (string productId) => productId).
WithDisplayName
("AlphaRoute");
2630
app.MapGet("/products/{productId:regex(^[a-z]{{4}}\\d{{4}}$)}", (string productId) => productId).
WithDisplayName
("RegexRoute");
2660
app.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)
16
return endpoints.Map(template, pipeline).
WithDisplayName
("Hello " + greeter);