19 references to WithBuildArg
Aspire.Hosting (2)
ContainerResourceBuilderExtensions.cs (2)
463
/// Thrown when <see cref="ContainerResourceBuilderExtensions.
WithBuildArg
{T}(IResourceBuilder{T}, string, object)"/> is
468
/// The <see cref="ContainerResourceBuilderExtensions.
WithBuildArg
{T}(IResourceBuilder{T}, string, object)"/> extension method
Aspire.Hosting.Containers.Tests (13)
WithDockerfileTests.cs (13)
170
.
WithBuildArg
("stringParam", "a string")
171
.
WithBuildArg
("intParam", 42);
217
.
WithBuildArg
("stringParam", "a string")
218
.
WithBuildArg
("intParam", 42);
354
.
WithBuildArg
("stringParam", "a string")
355
.
WithBuildArg
("intParam", 42)
356
.
WithBuildArg
("boolParamTrue", true)
357
.
WithBuildArg
("boolParamFalse", false);
424
.
WithBuildArg
("stringParam", "a string")
425
.
WithBuildArg
("intParam", 42)
426
.
WithBuildArg
("boolParamTrue", true)
427
.
WithBuildArg
("boolParamFalse", false);
518
container.
WithBuildArg
("MESSAGE", "hello");
Aspire.Hosting.Tests (4)
PublishAsDockerfileTests.cs (1)
219
c.
WithBuildArg
("X", "y");
Schema\SchemaTests.cs (3)
70
.
WithBuildArg
("stringArg", "a string")
71
.
WithBuildArg
("intArg", 42)
72
.
WithBuildArg
("boolArg", true)