2 implementations of IEndpointNameMetadata
Microsoft.AspNetCore.Routing (2)
EndpointNameAttribute.cs (1)
16public sealed class EndpointNameAttribute : Attribute, IEndpointNameMetadata
EndpointNameMetadata.cs (1)
18public class EndpointNameMetadata : IEndpointNameMetadata
7 references to IEndpointNameMetadata
Microsoft.AspNetCore.Mvc.Core (1)
Routing\ActionEndpointFactory.cs (1)
388builder.Metadata.OfType<IEndpointNameMetadata>().LastOrDefault()?.EndpointName == null)
Microsoft.AspNetCore.OpenApi (2)
Services\OpenApiDocumentService.cs (1)
350description.ActionDescriptor.EndpointMetadata.OfType<IEndpointNameMetadata>().LastOrDefault()?.EndpointName;
Services\OpenApiGenerator.cs (1)
76OperationId = metadata.GetMetadata<IEndpointNameMetadata>()?.EndpointName,
Microsoft.AspNetCore.Routing (4)
Builder\RoutingEndpointConventionBuilderExtensions.cs (2)
115/// Adds the <see cref="IEndpointNameMetadata"/> to the Metadata collection for all endpoints produced 117/// The <see cref="IEndpointNameMetadata" /> on the endpoint is used for link generation and
EndpointNameAddressScheme.cs (1)
102return endpoint.Metadata.GetMetadata<IEndpointNameMetadata>()?.EndpointName;
Matching\DataSourceDependentMatcher.cs (1)
50var endpointName = endpoint.Metadata.GetMetadata<IEndpointNameMetadata>()?.EndpointName;