7 references to EndpointAnnotationName
Aspire.Hosting (7)
Dcp\ResourceSnapshotBuilder.cs (2)
260
string.Equals(endpointName, u.Endpoint?.EndpointName, StringComparisons.
EndpointAnnotationName
)
297
.FirstOrDefault(s => string.Equals(endpointName, s.EndpointName, StringComparisons.
EndpointAnnotationName
));
Orchestrator\ApplicationOrchestrator.cs (1)
394
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)
928
if (builder.Resource.Annotations.OfType<EndpointAnnotation>().Any(sb => string.Equals(sb.Name, annotation.Name, StringComparisons.
EndpointAnnotationName
)))
2640
matchingEndpoint = endpoints.FirstOrDefault(e => string.Equals(e.EndpointName, name, StringComparisons.
EndpointAnnotationName
));