12 references to AllocatedEndpointSnapshot
Aspire.Hosting (7)
ApplicationModel\EndpointAnnotation.cs (6)
142AllAllocatedEndpoints.TryAdd(_networkId, AllocatedEndpointSnapshot); 352if (!AllocatedEndpointSnapshot.IsValueSet) 360return AllocatedEndpointSnapshot.GetValueAsync().GetAwaiter().GetResult(); 367AllocatedEndpointSnapshot.SetException(new InvalidOperationException($"The endpoint `{Name}` is not allocated")); 375AllocatedEndpointSnapshot.SetValue(value); 382/// Gets the <see cref="AllocatedEndpointSnapshot"/> for the default <see cref="AllocatedEndpoint"/>.
ApplicationModel\EndpointReference.cs (1)
217EndpointAnnotation.AllocatedEndpointSnapshot;
Aspire.Hosting.DevTunnels (2)
DevTunnelResourceBuilderExtensions.cs (2)
163portResource.TunnelEndpointAnnotation.AllocatedEndpointSnapshot.SetException(exception); 221portResource.TunnelEndpointAnnotation.AllocatedEndpointSnapshot.SetException(ex);
Aspire.Hosting.Maui (3)
Annotations\OtlpDevTunnelConfigurationAnnotation.cs (1)
104OtlpStub.OtlpEndpoint.AllocatedEndpointSnapshot.SetException(exception);
MauiOtlpExtensions.cs (2)
582await targetEndpoint.AllocatedEndpointSnapshot 607await endpoint.AllocatedEndpointSnapshot