Implemented interface member:
method
GetConnectionStringAsync
Aspire.Hosting.ApplicationModel.IResourceWithConnectionString.GetConnectionStringAsync(System.Threading.CancellationToken)
5 references to GetConnectionStringAsync
Aspire.Hosting.Azure.Tests (3)
AzureBicepResourceTests.cs (3)
1502
Assert.Equal("myconnectionstring", await postgres.Resource.
GetConnectionStringAsync
(default));
1620
Assert.Equal("myconnectionstring", await postgres.Resource.
GetConnectionStringAsync
(default));
1727
Assert.Equal(expectedConnectionString, await postgres.Resource.
GetConnectionStringAsync
());
Aspire.Hosting.PostgreSQL (1)
PostgresBuilderExtensions.cs (1)
62
connectionString = await postgresServer.
GetConnectionStringAsync
(ct).ConfigureAwait(false);
Aspire.Hosting.PostgreSQL.Tests (1)
AddPostgresTests.cs (1)
178
var postgresConnectionString = await postgresResource.
GetConnectionStringAsync
();