Implemented interface member:
method
GetValueAsync
Aspire.Hosting.ApplicationModel.IValueProvider.GetValueAsync(System.Threading.CancellationToken)
9 references to GetValueAsync
Aspire.Hosting (4)
ApplicationModel\EndpointHostHelpers.cs (1)
129var allocatedUrl = await endpoint.GetValueAsync(cancellationToken).ConfigureAwait(false);
ApplicationModel\McpServerEndpointAnnotation.cs (1)
48var baseUrl = await endpoint.GetValueAsync(cancellationToken).ConfigureAwait(false);
ExternalServiceBuilderExtensions.cs (1)
482var endpointValue = await _endpoint.GetValueAsync(cancellationToken).ConfigureAwait(false);
McpServerResourceBuilderExtensions.cs (1)
89var baseUrl = await endpoint.GetValueAsync(cancellationToken).ConfigureAwait(false);
Aspire.Hosting.Blazor (1)
GatewayOriginReference.cs (1)
18var url = await endpoint.GetValueAsync(cancellationToken).ConfigureAwait(false);
Aspire.Hosting.DevTunnels (1)
DevTunnelResourceBuilderExtensions.cs (1)
165await Task.WhenAll(tunnelResource.Ports.Select(p => p.TargetEndpoint.GetValueAsync(ct).AsTask())).ConfigureAwait(false);
Aspire.Hosting.Tests (3)
Dcp\DcpExecutorTests.cs (1)
3956var url = await database.GetEndpoint("NoPortTargetPortSet").GetValueAsync(context.CancellationToken).ConfigureAwait(false);
EndpointReferenceTests.cs (2)
21var getValueTask = endpointRef.GetValueAsync(CancellationToken.None); 392var consumer = new WithWaitStartedNotification<string?>(waitStarted, endpointRef.GetValueAsync(CancellationToken.None).GetAwaiter());