9 references to AddParameter
Aspire.Hosting.Azure.Tests (4)
AzureContainerAppsTests.cs (2)
483var secretValue = builder.AddParameter("value0", "x", secret: true); 486var value = builder.AddParameter("value1", "y");
AzurePostgresExtensionsTests.cs (2)
299var usr = builder.AddParameter("usr", "user"); 300var pwd = builder.AddParameter("pwd", "p@ssw0rd1", secret: true);
Aspire.Hosting.PostgreSQL.Tests (1)
AddPostgresTests.cs (1)
455var username = builder.AddParameter("pg-user", "myuser");
Aspire.Hosting.Tests (3)
AddParameterTests.cs (3)
140appBuilder.AddParameter("pass", "DefaultValue"); 190appBuilder.AddParameter("pass", "DefaultValue", publishValueAsDefault: true); 227var ex2 = Assert.Throws<ArgumentException>(() => appBuilder.AddParameter("pass", "SomeSecret", publishValueAsDefault: true, secret: true));
AzureContainerApps.AppHost (1)
Program.cs (1)
12var param = builder.AddParameter("secretparam", "fakeSecret", secret: true);