6 implementations of GetValueAsync
Aspire.Hosting (6)
ApplicationModel\ConnectionStringReference.cs (1)
24async ValueTask<string?> IValueProvider.GetValueAsync(CancellationToken cancellationToken)
ApplicationModel\EndpointReference.cs (1)
44ValueTask<string?> IValueProvider.GetValueAsync(CancellationToken cancellationToken) => new(Url);
ApplicationModel\HostUrl.cs (1)
16ValueTask<string?> IValueProvider.GetValueAsync(System.Threading.CancellationToken cancellationToken)
ApplicationModel\IResourceWithConnectionString.cs (1)
21ValueTask<string?> IValueProvider.GetValueAsync(CancellationToken cancellationToken) => GetConnectionStringAsync(cancellationToken);
ApplicationModel\ParameterResource.cs (1)
66ValueTask<string?> IValueProvider.GetValueAsync(CancellationToken cancellationToken) => new(Value);
ApplicationModel\ReferenceExpression.cs (1)
56public async ValueTask<string?> GetValueAsync(CancellationToken cancellationToken)
7 references to GetValueAsync
Aspire.Hosting (5)
ApplicationModel\ExpressionResolver.cs (1)
169false => await valueProvider.GetValueAsync(cancellationToken).ConfigureAwait(false),
ApplicationModel\ReferenceExpression.cs (1)
66args[i] = await ValueProviders[i].GetValueAsync(cancellationToken).ConfigureAwait(false);
ApplicationModel\ResourceExtensions.cs (1)
206(DistributedApplicationOperation.Run, IValueProvider provider) => await provider.GetValueAsync().ConfigureAwait(false),
Dcp\ApplicationExecutor.cs (2)
1765IValueProvider valueProvider => await valueProvider.GetValueAsync(cancellationToken).ConfigureAwait(false), 1794IValueProvider valueProvider => await valueProvider.GetValueAsync(cancellationToken).ConfigureAwait(false),
Aspire.Hosting.Azure (1)
Provisioning\Provisioners\BicepProvisioner.cs (1)
504IValueProvider v => await v.GetValueAsync(cancellationToken).ConfigureAwait(false),
Aspire.Hosting.Tests (1)
Utils\ArgumentEvaluator.cs (1)
27IValueProvider valueProvider => await valueProvider.GetValueAsync().ConfigureAwait(false),