PipelineStepExtensions Methods
ClassMethods6 members
Extension methods for pipeline steps.
DependsOn(IEnumerable<PipelineStep>, PipelineStep?)Section titled DependsOn(IEnumerable<PipelineStep>, PipelineStep?)extensionIEnumerable<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) { // ... }}Parameters
stepsIEnumerable<PipelineStep>The collection of steps.stepPipelineStep?The step to depend on.Returns
IEnumerable<PipelineStep>The original collection of steps.DependsOn(IEnumerable<PipelineStep>, string)Section titled DependsOn(IEnumerable<PipelineStep>, string)extensionIEnumerable<PipelineStep> 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) { // ... }}Parameters
stepsIEnumerable<PipelineStep>The collection of steps.stepNamestringThe name of the step to depend on.Returns
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) { // ... }}Parameters
stepsIEnumerable<PipelineStep>The collection of steps.targetStepsIEnumerable<PipelineStep>The target steps to depend on.Returns
IEnumerable<PipelineStep>The original collection of steps.RequiredBy(IEnumerable<PipelineStep>, PipelineStep?)Section titled RequiredBy(IEnumerable<PipelineStep>, PipelineStep?)extensionIEnumerable<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) { // ... }}Parameters
stepsIEnumerable<PipelineStep>The collection of steps.stepPipelineStep?The step that requires these steps.Returns
IEnumerable<PipelineStep>The original collection of steps.RequiredBy(IEnumerable<PipelineStep>, string)Section titled RequiredBy(IEnumerable<PipelineStep>, string)extensionIEnumerable<PipelineStep> 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) { // ... }}Parameters
stepsIEnumerable<PipelineStep>The collection of steps.stepNamestringThe name of the step that requires these steps.Returns
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) { // ... }}Parameters
stepsIEnumerable<PipelineStep>The collection of steps.targetStepsIEnumerable<PipelineStep>The target steps that require these steps.Returns
IEnumerable<PipelineStep>The original collection of steps.