19 implementations of GetValueAsync
Aspire.Hosting (10)
ApplicationModel\ConnectionStringReference.cs (1)
24ValueTask<string?> IValueProvider.GetValueAsync(CancellationToken cancellationToken)
ApplicationModel\ContainerImageReference.cs (1)
38ValueTask<string?> IValueProvider.GetValueAsync(CancellationToken cancellationToken)
ApplicationModel\ContainerPortReference.cs (1)
25ValueTask<string?> IValueProvider.GetValueAsync(CancellationToken cancellationToken)
ApplicationModel\EndpointReference.cs (2)
71public ValueTask<string?> GetValueAsync(CancellationToken cancellationToken = default) => Property(EndpointProperty.Url).GetValueAsync(cancellationToken); 279public ValueTask<string?> GetValueAsync(CancellationToken cancellationToken = default)
ApplicationModel\HostUrl.cs (1)
20ValueTask<string?> IValueProvider.GetValueAsync(System.Threading.CancellationToken cancellationToken) => ((IValueProvider)this).GetValueAsync(new(), cancellationToken);
ApplicationModel\HttpsCertificateExecutionConfigurationGatherer.cs (1)
163public ValueTask<string?> GetValueAsync(CancellationToken cancellationToken = default)
ApplicationModel\IResourceWithConnectionString.cs (1)
21ValueTask<string?> IValueProvider.GetValueAsync(CancellationToken cancellationToken) => GetConnectionStringAsync(cancellationToken);
ApplicationModel\ParameterResource.cs (1)
85public async ValueTask<string?> GetValueAsync(CancellationToken cancellationToken)
ApplicationModel\ReferenceExpression.cs (1)
101public ValueTask<string?> GetValueAsync(CancellationToken cancellationToken)
Aspire.Hosting.Azure (2)
AzureBicepResource.cs (2)
591public async ValueTask<string?> GetValueAsync(CancellationToken cancellationToken = default) 647public async ValueTask<string?> GetValueAsync(CancellationToken cancellationToken = default)
Aspire.Hosting.Azure.KeyVault (2)
AzureKeyVaultSecretReference.cs (1)
32async ValueTask<string?> IValueProvider.GetValueAsync(CancellationToken cancellationToken)
AzureKeyVaultSecretResource.cs (1)
54ValueTask<string?> IValueProvider.GetValueAsync(CancellationToken cancellationToken) =>
Aspire.Hosting.JavaScript.Tests (1)
AddViteAppTests.cs (1)
570public ValueTask<string?> GetValueAsync(CancellationToken cancellationToken = default)
Aspire.Hosting.Tests (4)
ExpressionResolverTests.cs (1)
291public ValueTask<string?> GetValueAsync(CancellationToken cancellationToken = default)
ReferenceExpressionTests.cs (1)
109public ValueTask<string?> GetValueAsync(CancellationToken cancellationToken = default)
WithEnvironmentTests.cs (2)
490public ValueTask<string?> GetValueAsync(CancellationToken cancellationToken = default) 530public ValueTask<string?> GetValueAsync(CancellationToken cancellationToken = default)
18 references to GetValueAsync
Aspire.Hosting (5)
ApplicationModel\ConnectionStringReference.cs (1)
26return Resource.GetValueAsync(cancellationToken);
ApplicationModel\IValueProvider.cs (1)
43GetValueAsync(cancellationToken);
Dcp\DcpExecutor.cs (2)
2148IValueProvider valueProvider => await valueProvider.GetValueAsync(cancellationToken).ConfigureAwait(false), 2178IValueProvider valueProvider => await valueProvider.GetValueAsync(cancellationToken).ConfigureAwait(false),
Publishing\ResourceContainerImageManager.cs (1)
498IValueProvider valueProvider => await valueProvider.GetValueAsync(cancellationToken).ConfigureAwait(false),
Aspire.Hosting.Azure (2)
Provisioning\BicepUtilities.cs (2)
55IValueProvider v => await v.GetValueAsync(cancellationToken).ConfigureAwait(false), 75IValueProvider v => await v.GetValueAsync(cancellationToken).ConfigureAwait(false),
Aspire.Hosting.Azure.KeyVault (1)
AzureKeyVaultSecretResource.cs (1)
55_secret.GetValueAsync(cancellationToken);
Aspire.Hosting.Azure.Tests (2)
AzureDeployerTests.cs (2)
1507Assert.Equal("Server=localhost;Database=mydb", await connectionStringParam.Resource.GetValueAsync(default)); 1562Assert.Equal("Server=localhost;Database=mydb", await connectionStringParam.Resource.GetValueAsync(default));
Aspire.Hosting.Docker (1)
DockerComposeEnvironmentResource.cs (1)
358defaultValue = await ((IValueProvider)cir).GetValueAsync(context.CancellationToken).ConfigureAwait(false);
Aspire.Hosting.Docker.Tests (7)
DockerComposeTests.cs (7)
466var remoteImageName = await ((IValueProvider)containerImageReference).GetValueAsync(default); 491var remoteImageName = await ((IValueProvider)containerImageReference).GetValueAsync(default); 514var remoteImageName = await ((IValueProvider)containerImageReference).GetValueAsync(default); 538var remoteImageName = await ((IValueProvider)containerImageReference).GetValueAsync(default); 566var remoteImageName = await ((IValueProvider)containerImageReference).GetValueAsync(default); 591var remoteImageName = await ((IValueProvider)containerImageReference).GetValueAsync(default); 618var remoteImageName = await ((IValueProvider)containerImageReference).GetValueAsync(default);