Skip to content
DocsTry Aspire
DocsTry

PipelineStepContext

Handle
📦 Aspire.Hosting v13.4.0
interface PipelineStepContext {
readonly cancellationToken: cancellationToken;
readonly executionContext: DistributedApplicationExecutionContext;
readonly logger: ILogger;
readonly model: DistributedApplicationModel;
readonly pipelineContext: PipelineContext;
readonly reportingStep: IReportingStep;
readonly services: IServiceProvider;
readonly summary: PipelineSummary;
}

Properties

propertycancellationTokencancellationTokenget
Gets the cancellation token for the pipeline operation.
propertyexecutionContextDistributedApplicationExecutionContextget
Gets the execution context for the distributed application.
propertyloggerILoggerget
Gets the logger for pipeline operations that writes to both the pipeline logger and the step logger.
propertymodelDistributedApplicationModelget
Gets the distributed application model to be deployed.
propertypipelineContextPipelineContextget
Gets the pipeline context shared across all steps.
propertyreportingStepIReportingStepget
Gets the publishing step associated with this specific step execution.
propertyservicesIServiceProviderget
Gets the service provider for dependency resolution.
propertysummaryPipelineSummaryget
Gets the pipeline summary that steps can add information to. The summary will be displayed to users after pipeline execution completes.