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