9 references to AllocatedEndpointSnapshot
Aspire.Hosting (7)
ApplicationModel\EndpointAnnotation.cs (6)
106
AllAllocatedEndpoints.TryAdd(_networkID,
AllocatedEndpointSnapshot
);
228
if (!
AllocatedEndpointSnapshot
.IsValueSet)
236
return
AllocatedEndpointSnapshot
.GetValueAsync().GetAwaiter().GetResult();
243
AllocatedEndpointSnapshot
.SetException(new InvalidOperationException($"The endpoint `{Name}` is not allocated"));
251
AllocatedEndpointSnapshot
.SetValue(value);
258
/// Gets the <see cref="
AllocatedEndpointSnapshot
"/> for the default <see cref="AllocatedEndpoint"/>.
ApplicationModel\EndpointReference.cs (1)
178
EndpointAnnotation.
AllocatedEndpointSnapshot
;
Aspire.Hosting.DevTunnels (2)
DevTunnelResourceBuilderExtensions.cs (2)
160
portResource.TunnelEndpointAnnotation.
AllocatedEndpointSnapshot
.SetException(exception);
217
portResource.TunnelEndpointAnnotation.
AllocatedEndpointSnapshot
.SetException(ex);