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