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