1 write to DisplayName
Microsoft.AspNetCore.Http.Abstractions (1)
Routing\Endpoint.cs (1)
32DisplayName = displayName;
33 references to DisplayName
Microsoft.AspNetCore.Diagnostics (1)
DeveloperExceptionPage\DeveloperExceptionPageMiddlewareImpl.cs (1)
343DisplayName = endpoint.DisplayName,
Microsoft.AspNetCore.Http (1)
Builder\ApplicationBuilder.cs (1)
175$"The request reached the end of the pipeline without executing the endpoint: '{endpoint!.DisplayName}'. " +
Microsoft.AspNetCore.Http.Abstractions (1)
Routing\Endpoint.cs (1)
53public override string? ToString() => DisplayName ?? base.ToString();
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
EndpointMetadataApiDescriptionProvider.cs (1)
108DisplayName = routeEndpoint.DisplayName,
Microsoft.AspNetCore.Routing (29)
DefaultLinkGenerator.cs (7)
344EndpointsFound(logger, endpoints.Select(e => e.DisplayName), address); 355=> TemplateSucceeded(logger, endpoint.RoutePattern.RawText, endpoint.DisplayName, path.Value, query.Value); 367TemplateFailedRequiredValues(logger, endpoint.RoutePattern.RawText, endpoint.DisplayName, FormatRouteValues(ambientValues), FormatRouteValues(values), FormatRouteValues(endpoint.RoutePattern.Defaults)); 384TemplateFailedConstraint(logger, endpoint.RoutePattern.RawText, endpoint.DisplayName, constraint, parameterName, FormatRouteValues(values)); 400TemplateFailedExpansion(logger, endpoint.RoutePattern.RawText, endpoint.DisplayName, FormatRouteValues(values)); 417LinkGenerationSucceeded(logger, endpoints.Select(e => e.DisplayName), uri); 432LinkGenerationFailed(logger, endpoints.Select(e => e.DisplayName));
DefaultLinkParser.cs (3)
177EndpointsFound(logger, endpoints.Select(e => e.DisplayName), address); 192PathParsingSucceeded(logger, endpoint.DisplayName, path.Value); 204PathParsingFailed(logger, endpoints.Select(e => e.DisplayName), path.Value);
EndpointDataSource.cs (2)
57DisplayName = routeEndpoint.DisplayName, 138sb.AppendLine(endpoint.DisplayName);
EndpointMiddleware.cs (3)
106throw new InvalidOperationException($"Endpoint {endpoint.DisplayName} contains authorization metadata, " + 114throw new InvalidOperationException($"Endpoint {endpoint.DisplayName} contains CORS metadata, " + 122throw new InvalidOperationException($"Endpoint {endpoint.DisplayName} contains anti-forgery metadata, " +
EndpointNameAddressScheme.cs (1)
87builder.AppendLine(endpoint.DisplayName);
EndpointRoutingMiddleware.cs (5)
286throw new InvalidOperationException($"Endpoint {endpoint.DisplayName} contains authorization metadata, " + 292throw new InvalidOperationException($"Endpoint {endpoint.DisplayName} contains CORS metadata, " + 298throw new InvalidOperationException($"Endpoint {endpoint.DisplayName} contains anti-forgery metadata, " + 340=> MatchSuccess(logger, endpoint.DisplayName); 349=> MatchingSkipped(logger, endpoint.DisplayName);
Matching\CandidateSet.cs (1)
351string.Join(Environment.NewLine, duplicates.Select(e => e.DisplayName));
Matching\DataSourceDependentMatcher.cs (2)
55throw new InvalidOperationException($"Duplicate endpoint name '{endpointName}' found on '{endpoint.DisplayName}' and '{existingEndpoint}'. Endpoint names must be globally unique."); 58seenEndpointNames.Add(endpointName, endpoint.DisplayName ?? endpoint.RoutePattern.RawText);
Matching\DefaultEndpointSelector.cs (1)
123string.Join(Environment.NewLine, matches.Select(e => e.DisplayName)));
Matching\DfaMatcher.cs (4)
370CandidateRejectedByComplexSegment(logger, endpoint.DisplayName, routePattern, segment.DebuggerToString(), path); 386CandidateRejectedByConstraint(logger, endpoint.DisplayName, routePattern, constraintName, constraint.ToString(), value, path); 402CandidateNotValid(logger, endpoint.DisplayName, routePattern, path); 418CandidateValid(logger, endpoint.DisplayName, routePattern, path);