15 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.Nats.Tests (6)
AddNatsTests.cs (4)
62var userParameters = appBuilder.AddParameter("user", "usr"); 63var passwordParameters = appBuilder.AddParameter("pass", "password"); 129var user = appBuilder.AddParameter("user", "usr"); 130var pass = appBuilder.AddParameter("pass", "pass");
NatsFunctionalTests.cs (2)
73var usernameParameter = user is null ? null : builder.AddParameter("user", user); 74var passwordParameter = password is null ? null : builder.AddParameter("pass", password);
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);