3 references to GetEndpointAnnotation
Aspire.Hosting (3)
ApplicationModel\EndpointReference.cs (3)
18internal EndpointAnnotation EndpointAnnotation => GetEndpointAnnotation() ?? throw new InvalidOperationException($"The endpoint `{EndpointName}` is not defined for the resource `{Resource.Name}`."); 40public bool Exists => GetEndpointAnnotation() is not null; 111private AllocatedEndpoint? GetAllocatedEndpoint() => GetEndpointAnnotation()?.AllocatedEndpoint;