Skip to content
DocsTry Aspire
DocsTry

PipelineStep Methods

ClassMethods4 members
Represents a step in the deployment pipeline.
Adds a dependency on another step.
public class PipelineStep
{
public void DependsOn(
string stepName)
{
// ...
}
}
stepNamestringThe name of the step to depend on.
Adds a dependency on another step.
public class PipelineStep
{
public void DependsOn(
PipelineStep step)
{
// ...
}
}
stepPipelineStepThe step to depend on.
Specifies that this step is required by another step. This creates the inverse relationship where the other step will depend on this step.
public class PipelineStep
{
public void RequiredBy(
string stepName)
{
// ...
}
}
stepNamestringThe name of the step that requires this step.
Specifies that this step is required by another step. This creates the inverse relationship where the other step will depend on this step.
public class PipelineStep
{
public void RequiredBy(
PipelineStep step)
{
// ...
}
}
stepPipelineStepThe step that requires this step.