Skip to content
Docs Try Aspire

PipelineStepExtensions Methods

Class Methods 6 members
Extension methods for pipeline steps.
DependsOn(IEnumerable<PipelineStep>, PipelineStep?) Section titled DependsOn(IEnumerable<PipelineStep>, PipelineStep?) extension IEnumerable<PipelineStep>
Makes each step in the collection depend on the specified step.
public static class PipelineStepExtensions
{
public static IEnumerable<PipelineStep> DependsOn(
this IEnumerable<PipelineStep> steps,
PipelineStep? step)
{
// ...
}
}
steps IEnumerable<PipelineStep> The collection of steps.
step PipelineStep? The step to depend on.
IEnumerable<PipelineStep> The original collection of steps.
Makes each step in the collection depend on the specified step name.
public static class PipelineStepExtensions
{
public static IEnumerable<PipelineStep> DependsOn(
this IEnumerable<PipelineStep> steps,
string stepName)
{
// ...
}
}
steps IEnumerable<PipelineStep> The collection of steps.
stepName string The name of the step to depend on.
IEnumerable<PipelineStep> The original collection of steps.
DependsOn(IEnumerable<PipelineStep>, IEnumerable<PipelineStep>) Section titled DependsOn(IEnumerable<PipelineStep>, IEnumerable<PipelineStep>) extension IEnumerable<PipelineStep>
Makes each step in the collection depend on the specified target steps.
public static class PipelineStepExtensions
{
public static IEnumerable<PipelineStep> DependsOn(
this IEnumerable<PipelineStep> steps,
IEnumerable<PipelineStep> targetSteps)
{
// ...
}
}
steps IEnumerable<PipelineStep> The collection of steps.
targetSteps IEnumerable<PipelineStep> The target steps to depend on.
IEnumerable<PipelineStep> The original collection of steps.
RequiredBy(IEnumerable<PipelineStep>, PipelineStep?) Section titled RequiredBy(IEnumerable<PipelineStep>, PipelineStep?) extension IEnumerable<PipelineStep>
Specifies that each step in the collection is required by the specified step.
public static class PipelineStepExtensions
{
public static IEnumerable<PipelineStep> RequiredBy(
this IEnumerable<PipelineStep> steps,
PipelineStep? step)
{
// ...
}
}
steps IEnumerable<PipelineStep> The collection of steps.
step PipelineStep? The step that requires these steps.
IEnumerable<PipelineStep> The original collection of steps.
Specifies that each step in the collection is required by the specified step name.
public static class PipelineStepExtensions
{
public static IEnumerable<PipelineStep> RequiredBy(
this IEnumerable<PipelineStep> steps,
string stepName)
{
// ...
}
}
steps IEnumerable<PipelineStep> The collection of steps.
stepName string The name of the step that requires these steps.
IEnumerable<PipelineStep> The original collection of steps.
RequiredBy(IEnumerable<PipelineStep>, IEnumerable<PipelineStep>) Section titled RequiredBy(IEnumerable<PipelineStep>, IEnumerable<PipelineStep>) extension IEnumerable<PipelineStep>
Specifies that each step in the collection is required by the specified target steps.
public static class PipelineStepExtensions
{
public static IEnumerable<PipelineStep> RequiredBy(
this IEnumerable<PipelineStep> steps,
IEnumerable<PipelineStep> targetSteps)
{
// ...
}
}
steps IEnumerable<PipelineStep> The collection of steps.
targetSteps IEnumerable<PipelineStep> The target steps that require these steps.
IEnumerable<PipelineStep> The original collection of steps.