# PipelineOutputDiffRule Properties

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

Includes or excludes matching files from pipeline output comparison.

<a id="action"></a>

## Action

- Name: `Action`
- Modifiers: `get; set`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting/Pipelines/PipelineOutputDiffOptions.cs)

Gets or sets the action, `Include` or `Exclude`, matched without regard to case.

```csharp
public string Action { get; set; }
```

<a id="pattern"></a>

## Pattern

- Name: `Pattern`
- Modifiers: `get; set`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting/Pipelines/PipelineOutputDiffOptions.cs)

Gets or sets a nonempty relative glob pattern, such as `src/**` or `**/*.tmp`. Patterns cannot be rooted or contain parent-directory segments.

```csharp
public string Pattern { get; set; }
```
