5 references to EndpointAnnotationName
Aspire.Hosting (5)
Dcp\ResourceSnapshotBuilder.cs (1)
206
var urlsForEndpoint = endpointUrls.Where(u => string.Equals(endpointName, u.Endpoint?.EndpointName, StringComparisons.
EndpointAnnotationName
)).ToList();
ProjectResourceBuilderExtensions.cs (2)
473
var url = context.Urls.FirstOrDefault(u => string.Equals(u.Endpoint?.EndpointName, endpoint.Name, StringComparisons.
EndpointAnnotationName
));
532
projectResource.Annotations.OfType<EndpointAnnotation>().FirstOrDefault(sb => sb.UriScheme == scheme || string.Equals(sb.Name, scheme, StringComparisons.
EndpointAnnotationName
));
ResourceBuilderExtensions.cs (2)
567
if (builder.Resource.Annotations.OfType<EndpointAnnotation>().Any(sb => string.Equals(sb.Name, annotation.Name, StringComparisons.
EndpointAnnotationName
)))
1714
matchingEndpoint = endpoints.FirstOrDefault(e => string.Equals(e.EndpointName, name, StringComparisons.
EndpointAnnotationName
));