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