Share via


IDistributedApplicationPipeline.AddStep Method

Definition

Overloads

AddStep(PipelineStep)

Adds a deployment step to the pipeline.

AddStep(String, Func<PipelineStepContext,Task>, Object, Object)

Adds a deployment step to the pipeline.

AddStep(PipelineStep)

Source:
IDistributedApplicationPipeline.cs

Adds a deployment step to the pipeline.

public void AddStep(Aspire.Hosting.Pipelines.PipelineStep step);
abstract member AddStep : Aspire.Hosting.Pipelines.PipelineStep -> unit
Public Sub AddStep (step As PipelineStep)

Parameters

step
PipelineStep

The pipeline step to add.

Applies to

AddStep(String, Func<PipelineStepContext,Task>, Object, Object)

Source:
IDistributedApplicationPipeline.cs

Adds a deployment step to the pipeline.

public void AddStep(string name, Func<Aspire.Hosting.Pipelines.PipelineStepContext,System.Threading.Tasks.Task> action, object? dependsOn = default, object? requiredBy = default);
abstract member AddStep : string * Func<Aspire.Hosting.Pipelines.PipelineStepContext, System.Threading.Tasks.Task> * obj * obj -> unit
Public Sub AddStep (name As String, action As Func(Of PipelineStepContext, Task), Optional dependsOn As Object = Nothing, Optional requiredBy As Object = Nothing)

Parameters

name
String

The unique name of the step.

action
Func<PipelineStepContext,Task>

The action to execute for this step.

dependsOn
Object

The name of the step this step depends on, or a list of step names.

requiredBy
Object

The name of the step that requires this step, or a list of step names.

Applies to