DockerBuildArg
Class sealed net10.0
Represents a name/value pair, used to satisfy the
docker builder --build-arg <NAME>[=<VALUE>] command switch. For more information, see https://docs.docker.com/reference/cli/docker/image/build/#build-arg. namespace Aspire.Hosting.ApplicationModel;
public sealed class DockerBuildArg{ // ...}Constructors1
Section titled ConstructorsDockerBuildArg(string, object?) Represents a name/value pair, used to satisfy the
docker builder --build-arg <NAME>[=<VALUE>] command switch. For more information, see https://docs.docker.com/reference/cli/docker/image/build/#build-arg. Properties2
Section titled PropertiesNameget; initstring Gets or initializes the name part of the
docker builder --build-arg <NAME>[=<VALUE>]. Valueget; initobject? Gets or initializes the value part of the
docker builder --build-arg <NAME>[=<VALUE>].