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