2 implementations of IEndpointNameMetadata
Microsoft.AspNetCore.Routing (2)
EndpointNameAttribute.cs (1)
16
public sealed class EndpointNameAttribute : Attribute,
IEndpointNameMetadata
EndpointNameMetadata.cs (1)
18
public class EndpointNameMetadata :
IEndpointNameMetadata
7 references to IEndpointNameMetadata
Microsoft.AspNetCore.Mvc.Core (1)
Routing\ActionEndpointFactory.cs (1)
388
builder.Metadata.OfType<
IEndpointNameMetadata
>().LastOrDefault()?.EndpointName == null)
Microsoft.AspNetCore.OpenApi (2)
Services\OpenApiDocumentService.cs (1)
350
description.ActionDescriptor.EndpointMetadata.OfType<
IEndpointNameMetadata
>().LastOrDefault()?.EndpointName;
Services\OpenApiGenerator.cs (1)
76
OperationId = 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)
102
return endpoint.Metadata.GetMetadata<
IEndpointNameMetadata
>()?.EndpointName;
Matching\DataSourceDependentMatcher.cs (1)
50
var endpointName = endpoint.Metadata.GetMetadata<
IEndpointNameMetadata
>()?.EndpointName;