# PipelineStepFactoryContext

- Kind: `class`
- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Version: `13.3.0`
- Namespace: `Aspire.Hosting.Pipelines`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/Pipelines/PipelineStepFactoryContext.cs)

Provides contextual information for creating pipeline steps from a [PipelineStepAnnotation](/reference/api/csharp/aspire.hosting/pipelinestepannotation.md).

## Definition

```csharp
namespace Aspire.Hosting.Pipelines;

public class PipelineStepFactoryContext
{
    // ...
}
```

## ATS metadata

### ATS export

- Type ID: `Aspire.Hosting/PipelineStepFactoryContext`
- Public instance properties are exported as ATS capabilities.

## Constructors

- [PipelineStepFactoryContext](/reference/api/csharp/aspire.hosting/pipelinestepfactorycontext/constructors.md#constructor)

## Properties

- [PipelineContext](/reference/api/csharp/aspire.hosting/pipelinestepfactorycontext/properties.md#pipelinecontext) : [PipelineContext](/reference/api/csharp/aspire.hosting/pipelinecontext.md) `get; init` -- Gets the pipeline context that has the model and other properties.
- [Resource](/reference/api/csharp/aspire.hosting/pipelinestepfactorycontext/properties.md#resource) : [IResource](/reference/api/csharp/aspire.hosting/iresource.md) `get; init` -- Gets the resource that this factory is associated with.
