Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

DockerfileStage Properties

ClassProperties2 members
Represents a stage within a multi-stage Dockerfile.
StageNameSection titled StageNamenullablestring?
Gets the name of the stage.
public string? StageName { get; }
Gets the statements for this stage.
public IList<DockerfileStatement> Statements { get; }