6 references to EndpointAnnotationName
Aspire.Hosting (6)
Dcp\ResourceSnapshotBuilder.cs (1)
251
var urlsForEndpoint = endpointUrls.Where(u => string.Equals(endpointName, u.Endpoint?.EndpointName, StringComparisons.
EndpointAnnotationName
)).ToList();
Orchestrator\ApplicationOrchestrator.cs (1)
353
var primaryUrl = urls.FirstOrDefault(u => string.Equals(u.Endpoint?.EndpointName, primaryLaunchProfileEndpoint.Name, StringComparisons.
EndpointAnnotationName
));
ProjectResourceBuilderExtensions.cs (2)
611
var url = context.Urls.FirstOrDefault(u => string.Equals(u.Endpoint?.EndpointName, endpoint.Name, StringComparisons.
EndpointAnnotationName
));
670
projectResource.Annotations.OfType<EndpointAnnotation>().FirstOrDefault(sb => sb.UriScheme == scheme || string.Equals(sb.Name, scheme, StringComparisons.
EndpointAnnotationName
));
ResourceBuilderExtensions.cs (2)
845
if (builder.Resource.Annotations.OfType<EndpointAnnotation>().Any(sb => string.Equals(sb.Name, annotation.Name, StringComparisons.
EndpointAnnotationName
)))
2423
matchingEndpoint = endpoints.FirstOrDefault(e => string.Equals(e.EndpointName, name, StringComparisons.
EndpointAnnotationName
));