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