3 instantiations of PostgresDatabaseResource
Aspire.Hosting.PostgreSQL.Tests (3)
PostgrePublicApiTests.cs (3)
82
var action = () => new
PostgresDatabaseResource
(name, databaseName, postgresParentResource);
97
var action = () => new
PostgresDatabaseResource
(name, databaseName, postgresParentResource);
110
var action = () => new
PostgresDatabaseResource
(name, databaseName, postgresParentResource);
9 references to PostgresDatabaseResource
Aspire.Hosting.Azure.PostgreSQL (2)
AzurePostgresFlexibleServerDatabaseResource.cs (2)
39
internal
PostgresDatabaseResource
? InnerResource { get; private set; }
47
internal void SetInnerResource(
PostgresDatabaseResource
innerResource)
Aspire.Hosting.PostgreSQL (4)
PostgresBuilderExtensions.cs (4)
111
public static IResourceBuilder<
PostgresDatabaseResource
> AddDatabase(this IResourceBuilder<PostgresServerResource> builder, [ResourceName] string name, string? databaseName = null)
120
var
postgresDatabase = new PostgresDatabaseResource(name, databaseName, builder.Resource);
297
var postgresInstances = builder.ApplicationBuilder.Resources.OfType<
PostgresDatabaseResource
>();
304
foreach (
var
postgresDatabase in postgresInstances)
Aspire.Hosting.PostgreSQL.Tests (3)
AddPostgresTests.cs (3)
180
var
postgresDatabaseResource = Assert.Single(appModel.Resources.OfType<
PostgresDatabaseResource
>());
607
private static string CreatePgWebBookmarkfileContent(
PostgresDatabaseResource
postgresDatabase)