9 references to AllocatedEndpointSnapshot
Aspire.Hosting (7)
ApplicationModel\EndpointAnnotation.cs (6)
104
AllAllocatedEndpoints.TryAdd(_networkID,
AllocatedEndpointSnapshot
);
207
if (!
AllocatedEndpointSnapshot
.IsValueSet)
215
return
AllocatedEndpointSnapshot
.GetValueAsync().GetAwaiter().GetResult();
222
AllocatedEndpointSnapshot
.SetException(new InvalidOperationException($"The endpoint `{Name}` is not allocated"));
226
AllocatedEndpointSnapshot
.SetValue(value);
232
/// Gets the <see cref="
AllocatedEndpointSnapshot
"/> for the default <see cref="AllocatedEndpoint"/>.
ApplicationModel\EndpointReference.cs (1)
131
EndpointAnnotation.
AllocatedEndpointSnapshot
;
Aspire.Hosting.DevTunnels (2)
DevTunnelResourceBuilderExtensions.cs (2)
143
portResource.TunnelEndpointAnnotation.
AllocatedEndpointSnapshot
.SetException(exception);
198
portResource.TunnelEndpointAnnotation.
AllocatedEndpointSnapshot
.SetException(ex);