21 writes to DisplayName
Microsoft.AspNetCore.Components.Endpoints (4)
Builder\OpaqueRedirection.cs (1)
58DisplayName = "Blazor Opaque Redirection",
Builder\RazorComponentEndpointDataSource.cs (2)
229DisplayName = "Blazor web static files" 244DisplayName = "Blazor web static files sourcemap"
Builder\RazorComponentEndpointFactory.cs (1)
74builder.DisplayName = $"{builder.RoutePattern.RawText} ({pageDefinition.DisplayName})";
Microsoft.AspNetCore.Mvc.Core (4)
Routing\ActionEndpointFactory.cs (4)
63DisplayName = action.DisplayName, 107DisplayName = action.DisplayName, 153DisplayName = action.DisplayName, 220DisplayName = "Route: " + route.Pattern.RawText,
Microsoft.AspNetCore.Routing (5)
Builder\RoutingEndpointConventionBuilderExtensions.cs (2)
50b.DisplayName = displayName; 70b.DisplayName = func(b);
EndpointDataSource.cs (1)
57DisplayName = routeEndpoint.DisplayName,
RouteEndpointDataSource.cs (1)
176DisplayName = displayName,
ShortCircuit\RouteShortCircuitEndpointRouteBuilderExtensions.cs (1)
41endpoint.DisplayName = $"ShortCircuit {endpoint.DisplayName}";
Microsoft.AspNetCore.Routing.Tests (6)
Builder\GroupTest.cs (1)
274builder.DisplayName = $"Prefixed! {builder.DisplayName}";
Matching\CandidateSetTest.cs (1)
378builder.DisplayName = "test: " + template;
RouteEndpointBuilderTest.cs (4)
36DisplayName = "Display name!", 87DisplayName = "Display name!", 107DisplayName = "Display name!", 128DisplayName = "Display name!",
RoutingSandbox (1)
Framework\FrameworkEndpointDataSource.cs (1)
63endpointBuilder.DisplayName = $"{hubMethod.Hub}.{hubMethod.Method}";
RoutingWebSite (1)
UseEndpointRoutingStartup.cs (1)
150endpointBuilder.DisplayName += " HOST: " + hostsDisplay;
33 references to DisplayName
Microsoft.AspNetCore.Components.Server.Tests (1)
ComponentEndpointRouteBuilderExtensionsTest.cs (1)
76buildersAffected.Add(builder.DisplayName);
Microsoft.AspNetCore.Cors.Test (1)
CorsEndpointConventionBuilderExtensionsTests.cs (1)
92return new Endpoint(RequestDelegate, new EndpointMetadataCollection(Metadata), DisplayName);
Microsoft.AspNetCore.HttpLogging.Tests (1)
HttpLoggingEndpointConventionBuilderTests.cs (1)
58return new Endpoint(RequestDelegate, new EndpointMetadataCollection(Metadata), DisplayName);
Microsoft.AspNetCore.Mvc.Core (1)
Routing\ActionEndpointFactory.cs (1)
551return new Endpoint(RequestDelegate, new EndpointMetadataCollection(Metadata), DisplayName);
Microsoft.AspNetCore.RateLimiting.Tests (1)
TestEndpointBuilder.cs (1)
18return new Endpoint(RequestDelegate, new EndpointMetadataCollection(Metadata), DisplayName);
Microsoft.AspNetCore.Routing (4)
Builder\RoutingEndpointConventionBuilderExtensions.cs (2)
38/// Sets the <see cref="EndpointBuilder.DisplayName"/> to the provided <paramref name="displayName"/> for all 57/// Sets the <see cref="EndpointBuilder.DisplayName"/> using the provided <paramref name="func"/> for all
RouteEndpointBuilder.cs (1)
60DisplayName);
ShortCircuit\RouteShortCircuitEndpointRouteBuilderExtensions.cs (1)
41endpoint.DisplayName = $"ShortCircuit {endpoint.DisplayName}";
Microsoft.AspNetCore.Routing.Tests (24)
Builder\GroupTest.cs (1)
274builder.DisplayName = $"Prefixed! {builder.DisplayName}";
Builder\RequestDelegateEndpointRouteBuilderExtensionsTest.cs (2)
74Assert.Equal("/", endpointBuilder1.DisplayName); 361Assert.Equal("/", endpointBuilder1.DisplayName);
Builder\RouteHandlerEndpointRouteBuilderExtensionsTest.cs (21)
108Assert.Equal("HTTP: GET /", routeEndpointBuilder.DisplayName); 128Assert.Equal("HTTP: PATCH /", routeEndpointBuilder.DisplayName); 154Assert.Equal("HTTP: GET /{id}", routeEndpointBuilder.DisplayName); 192Assert.Equal("HTTP: GET /", routeEndpointBuilder.DisplayName); 276Assert.Equal("HTTP: GET /", routeEndpointBuilder.DisplayName); 296Assert.Equal("HTTP: DELETE /", routeEndpointBuilder.DisplayName); 316Assert.Equal("HTTP: PATCH /", routeEndpointBuilder.DisplayName); 340Assert.Equal("HTTP: GET /", routeEndpointBuilder.DisplayName); 360Assert.Equal("HTTP: DELETE /", routeEndpointBuilder.DisplayName); 380Assert.Equal("HTTP: PATCH /", routeEndpointBuilder.DisplayName); 404Assert.Equal("HTTP: GET /", routeEndpointBuilder.DisplayName); 424Assert.Equal("HTTP: DELETE /", routeEndpointBuilder.DisplayName); 444Assert.Equal("HTTP: PATCH /", routeEndpointBuilder.DisplayName); 532Assert.Equal($"HTTP: {expectedMethod} /{{ID}}", routeEndpointBuilder.DisplayName); 573Assert.Equal($"HTTP: {expectedMethod} /{{ID}}", routeEndpointBuilder.DisplayName); 674Assert.Equal("HTTP: POST /", routeEndpointBuilder.DisplayName); 712Assert.Equal("HTTP: PUT /", routeEndpointBuilder.DisplayName); 732Assert.Equal("HTTP: DELETE /", routeEndpointBuilder.DisplayName); 747Assert.Equal("Fallback /", routeEndpointBuilder.DisplayName); 763Assert.Equal("Fallback {*path:nonfile}", routeEndpointBuilder.DisplayName); 802Assert.Equal("HTTP: DELETE / => GetString", routeEndpointBuilder.DisplayName);