9 references to AllocatedEndpointSnapshot
Aspire.Hosting (7)
ApplicationModel\EndpointAnnotation.cs (6)
142
AllAllocatedEndpoints.TryAdd(_networkId,
AllocatedEndpointSnapshot
);
352
if (!
AllocatedEndpointSnapshot
.IsValueSet)
360
return
AllocatedEndpointSnapshot
.GetValueAsync().GetAwaiter().GetResult();
367
AllocatedEndpointSnapshot
.SetException(new InvalidOperationException($"The endpoint `{Name}` is not allocated"));
375
AllocatedEndpointSnapshot
.SetValue(value);
382
/// Gets the <see cref="
AllocatedEndpointSnapshot
"/> for the default <see cref="AllocatedEndpoint"/>.
ApplicationModel\EndpointReference.cs (1)
217
EndpointAnnotation.
AllocatedEndpointSnapshot
;
Aspire.Hosting.DevTunnels (2)
DevTunnelResourceBuilderExtensions.cs (2)
158
portResource.TunnelEndpointAnnotation.
AllocatedEndpointSnapshot
.SetException(exception);
216
portResource.TunnelEndpointAnnotation.
AllocatedEndpointSnapshot
.SetException(ex);