PipelineStep
Class net10.0
Represents a step in the deployment pipeline.
namespace Aspire.Hosting.Pipelines;
public class PipelineStep{ // ...} 12 members
Constructors1
Section titled ConstructorsProperties7
Section titled PropertiesActionget; initFunc<PipelineStepContext, Task> Gets or initializes the action to execute for this step.
DependsOnStepsget; initList<string> Gets or initializes the list of step names that this step depends on.
Descriptionget; initstring? Gets or initializes the description of the step.
Nameget; initstring Gets or initializes the unique name of the step.
RequiredByStepsget; initList<string> Gets or initializes the list of step names that require this step to complete before they can finish. This is used internally during pipeline construction and is converted to DependsOn relationships.
Resourceget; set Gets or initializes the resource that this step is associated with, if any.
Tagsget; initList<string> Gets or initializes the list of tags that categorize this step.
Methods4
Section titled MethodsDependsOn(string) Adds a dependency on another step.
DependsOn(PipelineStep) Adds a dependency on another step.
RequiredBy(string) Specifies that this step is required by another step. This creates the inverse relationship where the other step will depend on this step.
RequiredBy(PipelineStep) Specifies that this step is required by another step. This creates the inverse relationship where the other step will depend on this step.