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)
1295
Assert.Equal("myconnectionstring", await postgres.Resource.
GetConnectionStringAsync
(default));
1413
Assert.Equal("myconnectionstring", await postgres.Resource.
GetConnectionStringAsync
(default));
1520
Assert.Equal(expectedConnectionString, await postgres.Resource.
GetConnectionStringAsync
());
Aspire.Hosting.PostgreSQL (1)
PostgresBuilderExtensions.cs (1)
57
connectionString = await postgresServer.
GetConnectionStringAsync
(ct).ConfigureAwait(false);
Aspire.Hosting.PostgreSQL.Tests (1)
AddPostgresTests.cs (1)
179
var postgresConnectionString = await postgresResource.
GetConnectionStringAsync
();