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