Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

PipelineStepContext

Handle
📦 Aspire.Hosting v17.0.0

Provides contextual information for a specific pipeline step execution.

type PipelineStepContext interface{}

Properties

propertyCancellationToken*CancellationTokenget
Gets the cancellation token for the pipeline operation.
CancellationToken() (*CancellationToken, error)
propertyExecutionContextDistributedApplicationExecutionContextget
Gets the execution context for the distributed application.
ExecutionContext() DistributedApplicationExecutionContext
propertyLoggerLoggerget
Gets the logger for pipeline operations that writes to both the pipeline logger and the step logger.
Logger() Logger
propertyModelDistributedApplicationModelget
Gets the distributed application model to be deployed.
Model() DistributedApplicationModel
propertyPipelineContextPipelineContextget
Gets the pipeline context shared across all steps.
PipelineContext() PipelineContext
propertyReportingStepReportingStepget
Gets the publishing step associated with this specific step execution.
ReportingStep() ReportingStep
propertyServicesServiceProviderget
Gets the service provider for dependency resolution.
Services() ServiceProvider
propertySummaryPipelineSummaryget
Gets the pipeline summary that steps can add information to. The summary will be displayed to users after pipeline execution completes.
Summary() PipelineSummary