47 references to AddParameter
Aspire.Hosting.Azure.Tests (4)
AzureContainerAppsTests.cs (2)
708var secretValue = builder.AddParameter("value0", "x", secret: true); 711var 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.Elasticsearch.Tests (2)
AddElasticsearchTests.cs (1)
80var pass = appBuilder.AddParameter("pass", "pass");
ElasticsearchFunctionalTests.cs (1)
152var passwordParameter2 = builder2.AddParameter("pwd", password);
Aspire.Hosting.Milvus.Tests (7)
AddMilvusTests.cs (6)
21var pass = appBuilder.AddParameter("apikey", "pass"); 51var pass = appBuilder.AddParameter("apikey", "pass"); 81var pass = appBuilder.AddParameter("apikey", "pass"); 97var pass = appBuilder.AddParameter("apikey", "pass"); 129var pass = appBuilder.AddParameter("apikey", "pass"); 179var pass = builder.AddParameter("apikey", "pass");
MilvusFunctionalTests.cs (1)
133var passwordParameter = builder2.AddParameter("pwd", password);
Aspire.Hosting.MongoDB.Tests (1)
MongoDbFunctionalTests.cs (1)
173var passwordParameter2 = builder2.AddParameter("pwd", password);
Aspire.Hosting.MySql.Tests (2)
AddMySqlTests.cs (1)
78var pass = appBuilder.AddParameter("pass", "pass");
MySqlFunctionalTests.cs (1)
209var passwordParameter2 = builder2.AddParameter("pwd", password);
Aspire.Hosting.Nats.Tests (8)
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 (4)
73var usernameParameter = user is null ? null : builder.AddParameter("user", user); 74var passwordParameter = password is null ? null : builder.AddParameter("pass", password); 115var usernameParameter = builder.AddParameter("user", "user"); 116var passwordParameter = builder.AddParameter("pass", "password");
Aspire.Hosting.Oracle.Tests (3)
AddOracleTests.cs (2)
77var pass = appBuilder.AddParameter("pass", "pass"); 158var pass = appBuilder.AddParameter("pass", "pass");
OracleFunctionalTests.cs (1)
170var passwordParameter2 = builder2.AddParameter("pwd", password);
Aspire.Hosting.PostgreSQL.Tests (7)
AddPostgresTests.cs (3)
102var pass = appBuilder.AddParameter("pass", "pass"); 192var pass = appBuilder.AddParameter("pass", "pass"); 453var username = builder.AddParameter("pg-user", "myuser");
PostgresFunctionalTests.cs (4)
206var usernameParameter = builder1.AddParameter("user", username); 207var passwordParameter = builder1.AddParameter("pwd", password, secret: true); 276usernameParameter = builder2.AddParameter("user", username); 277passwordParameter = builder2.AddParameter("pwd", password, secret: true);
Aspire.Hosting.Qdrant.Tests (3)
AddQdrantTests.cs (3)
113var pass = appBuilder.AddParameter("pass", "pass"); 154var pass = appBuilder.AddParameter("pass", "pass"); 170var pass = appBuilder.AddParameter("pass", "pass");
Aspire.Hosting.RabbitMQ.Tests (2)
AddRabbitMQTests.cs (1)
96var pass = appBuilder.AddParameter("pass", "p@ssw0rd1");
RabbitMQFunctionalTests.cs (1)
172var passwordParameter2 = builder2.AddParameter("pwd", password);
Aspire.Hosting.SqlServer.Tests (3)
AddSqlServerTests.cs (2)
84var pass = appBuilder.AddParameter("pass", "p@ssw0rd1"); 105var pass = appBuilder.AddParameter("pass", "p@ssw0rd1");
SqlServerFunctionalTests.cs (1)
246var passwordParameter2 = builder2.AddParameter("pwd", password);
Aspire.Hosting.Tests (4)
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));
WaitForTests.cs (1)
95var param = builder.AddParameter("param", "value");
AzureContainerApps.AppHost (1)
Program.cs (1)
12var param = builder.AddParameter("secretparam", "fakeSecret", secret: true);