Implemented interface member:
property
Parent
Aspire.Hosting.ApplicationModel.IResourceWithParent<T>.Parent
10 references to Parent
Aspire.Hosting.PostgreSQL (6)
PostgresBuilderExtensions.cs (5)
498var user = postgresDatabase.Parent.UserNameParameter?.Value ?? "postgres"; 503host = "{postgresDatabase.Parent.Name}" 504port = {postgresDatabase.Parent.PrimaryEndpoint.TargetPort} 506password = "{postgresDatabase.Parent.PasswordParameter.Value}" 563var logger = serviceProvider.GetRequiredService<ResourceLoggerService>().GetLogger(npgsqlDatabase.Parent);
PostgresDatabaseResource.cs (1)
36return ReferenceExpression.Create($"{Parent};{connectionStringBuilder.ToString()}");
Aspire.Hosting.PostgreSQL.Tests (4)
AddPostgresTests.cs (4)
623var user = postgresDatabase.Parent.UserNameParameter?.Value ?? "postgres"; 628host = "{postgresDatabase.Parent.Name}" 629port = {postgresDatabase.Parent.PrimaryEndpoint.TargetPort} 631password = "{postgresDatabase.Parent.PasswordParameter.Value}"