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