# DockerfileStage Properties

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [DockerfileStage](/reference/api/csharp/aspire.hosting/dockerfilestage.md)
- Kind: `Properties`
- Members: `2`

Represents a stage within a multi-stage Dockerfile.

## StageName

- Name: `StageName`
- Modifiers: `nullable` `get`
- Returns: `string?`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/Docker/DockerfileStage.cs#L33)

Gets the name of the stage.

```csharp
public string? StageName { get; }
```

## Statements

- Name: `Statements`
- Modifiers: `get`
- Returns: [IList<DockerfileStatement>](/reference/api/csharp/aspire.hosting/dockerfilestatement.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/Docker/DockerfileStage.cs#L38)

Gets the statements for this stage.

```csharp
public IList<DockerfileStatement> Statements { get; }
```
