5 references to UserNameReference
Aspire.Hosting.Azure.PostgreSQL (1)
AzurePostgresFlexibleServerResource.cs (1)
126InnerResource.UserNameReference :
Aspire.Hosting.PostgreSQL (4)
PostgresBuilderExtensions.cs (2)
123context.EnvironmentVariables[UserEnvVarName] = postgresServer.UserNameReference; 156var username = await resource.UserNameReference.GetValueAsync(cancellationToken).ConfigureAwait(false);
PostgresServerResource.cs (2)
58$"Host={PrimaryEndpoint.Property(EndpointProperty.Host)};Port={PrimaryEndpoint.Property(EndpointProperty.Port)};Username={UserNameReference};Password={PasswordParameter}"); 173new ("Username", ReferenceExpression.Create($"{UserNameReference}")),