4 references to AddParameter
Aspire.Hosting (1)
ParameterResourceBuilderExtensions.cs (1)
51return builder.AddParameter(name, () => value, publishValueAsDefault, secret);
Aspire.Hosting.Tests (3)
AddParameterTests.cs (3)
136appBuilder.AddParameter("pass", () => "DefaultValue"); 186appBuilder.AddParameter("pass", () => "DefaultValue", publishValueAsDefault: true); 225var ex1 = Assert.Throws<ArgumentException>(() => appBuilder.AddParameter("pass", () => "SomeSecret", publishValueAsDefault: true, secret: true));