Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

PipelineStepExtensions Methods

ClassMethods6 members
Extension methods for pipeline steps.
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)
{
// ...
}
}
stepsIEnumerable<PipelineStep>The collection of steps.
stepPipelineStep?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)
{
// ...
}
}
stepsIEnumerable<PipelineStep>The collection of steps.
stepNamestringThe 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>)extensionIEnumerable<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)
{
// ...
}
}
stepsIEnumerable<PipelineStep>The collection of steps.
targetStepsIEnumerable<PipelineStep>The target steps to depend on.
IEnumerable<PipelineStep>The original collection of steps.
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)
{
// ...
}
}
stepsIEnumerable<PipelineStep>The collection of steps.
stepPipelineStep?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)
{
// ...
}
}
stepsIEnumerable<PipelineStep>The collection of steps.
stepNamestringThe 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>)extensionIEnumerable<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)
{
// ...
}
}
stepsIEnumerable<PipelineStep>The collection of steps.
targetStepsIEnumerable<PipelineStep>The target steps that require these steps.
IEnumerable<PipelineStep>The original collection of steps.