# PipelineSummary Methods

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [PipelineSummary](/reference/api/csharp/aspire.hosting/pipelinesummary.md)
- Kind: `Methods`
- Members: `2`

Represents pipeline summary information to be displayed after pipeline completion. This is a general-purpose key-value collection that pipeline steps can contribute to.

## Add(string, string)

- Name: `Add(string, string)`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/Pipelines/PipelineSummary.cs)

Adds a key-value pair to the pipeline summary with a plain-text value.

```csharp
public sealed class PipelineSummary
{
    public void Add(
        string key,
        string value)
    {
        // ...
    }
}
```

## Parameters

- `key` (`string`)
  The key or label for the item (e.g., "Namespace", "URL").
- `value` (`string`)
  The plain-text value for the item.

## Add(string, MarkdownString)

- Name: `Add(string, MarkdownString)`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/Pipelines/PipelineSummary.cs)

Adds a key-value pair to the pipeline summary with a Markdown-formatted value.

```csharp
public sealed class PipelineSummary
{
    public void Add(
        string key,
        MarkdownString value)
    {
        // ...
    }
}
```

## Parameters

- `key` (`string`)
  The key or label for the item (e.g., "Namespace", "URL").
- `value` ([MarkdownString](/reference/api/csharp/aspire.hosting/markdownstring.md))
  The Markdown-formatted value for the item.

## ATS metadata

### Ignored by ATS

- Reason: MarkdownString is not exported to ATS. Use addMarkdown instead.
