16 references to EndpointAnnotationName
Aspire.Hosting (16)
ApplicationModel\EndpointReference.cs (1)
232
.SingleOrDefault(a => string.Equals(a.Name, EndpointName, StringComparisons.
EndpointAnnotationName
));
ApplicationModel\ResourceExtensions.cs (2)
793
endpoints.FirstOrDefault(e => string.Equals(e.Name, endpointName, StringComparisons.
EndpointAnnotationName
)) :
817
endpoints.FirstOrDefault(e => string.Equals(e.Name, endpointName, StringComparisons.
EndpointAnnotationName
)) :
Dcp\DcpModelUtilities.cs (2)
311
string.Equals(swr.EndpointAnnotation.Name, endpoint.Name, StringComparisons.
EndpointAnnotationName
)
341
endpoint = endpoints.FirstOrDefault(e => string.Equals(e.Name, endpointName, StringComparisons.
EndpointAnnotationName
));
Dcp\ResourceSnapshotBuilder.cs (2)
311
string.Equals(endpointName, u.Endpoint?.EndpointName, StringComparisons.
EndpointAnnotationName
)
350
.FirstOrDefault(s => string.Equals(endpointName, s.EndpointName, StringComparisons.
EndpointAnnotationName
));
McpServerResourceBuilderExtensions.cs (2)
58
endpoint = endpoints.FirstOrDefault(e => string.Equals(e.EndpointName, endpointName, StringComparisons.
EndpointAnnotationName
));
70
endpoint = endpoints.FirstOrDefault(e => string.Equals(e.EndpointName, scheme, StringComparisons.
EndpointAnnotationName
));
Orchestrator\ApplicationOrchestrator.cs (1)
483
var primaryUrl = urls.FirstOrDefault(u => string.Equals(u.Endpoint?.EndpointName, primaryLaunchProfileEndpoint.Name, StringComparisons.
EndpointAnnotationName
));
ProjectResourceBuilderExtensions.cs (2)
764
var url = context.Urls.FirstOrDefault(u => string.Equals(u.Endpoint?.EndpointName, endpoint.Name, StringComparisons.
EndpointAnnotationName
));
823
projectResource.Annotations.OfType<EndpointAnnotation>().FirstOrDefault(sb => sb.UriScheme == scheme || string.Equals(sb.Name, scheme, StringComparisons.
EndpointAnnotationName
));
ResourceBuilderExtensions.cs (4)
1469
.SingleOrDefault(ea => string.Equals(ea.Name, endpointName, StringComparisons.
EndpointAnnotationName
));
1534
!builder.Resource.Annotations.OfType<EndpointAnnotation>().Any(endpoint => string.Equals(endpoint.Name, endpointName, StringComparisons.
EndpointAnnotationName
)))
1572
.FirstOrDefault(sb => string.Equals(sb.Name, resolvedName, StringComparisons.
EndpointAnnotationName
));
4377
matchingEndpoint = endpoints.FirstOrDefault(e => string.Equals(e.EndpointName, name, StringComparisons.
EndpointAnnotationName
));