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) { // ... }}Parameters
steps IEnumerable<PipelineStep> The collection of steps. step PipelineStep? The step to depend on. Returns
IEnumerable<PipelineStep> The original collection of steps. DependsOn(IEnumerable<PipelineStep>, string) Section titled DependsOn(IEnumerable<PipelineStep>, string) extension IEnumerable<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
steps IEnumerable<PipelineStep> The collection of steps. stepName string The 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>) 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) { // ... }}Parameters
steps IEnumerable<PipelineStep> The collection of steps. targetSteps IEnumerable<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?) 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) { // ... }}Parameters
steps IEnumerable<PipelineStep> The collection of steps. step PipelineStep? The step that requires these steps. Returns
IEnumerable<PipelineStep> The original collection of steps. RequiredBy(IEnumerable<PipelineStep>, string) Section titled RequiredBy(IEnumerable<PipelineStep>, string) extension IEnumerable<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
steps IEnumerable<PipelineStep> The collection of steps. stepName string The 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>) 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) { // ... }}Parameters
steps IEnumerable<PipelineStep> The collection of steps. targetSteps IEnumerable<PipelineStep> The target steps that require these steps. Returns
IEnumerable<PipelineStep> The original collection of steps.