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