PipelineStepExtensions.DependsOn Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| DependsOn(IEnumerable<PipelineStep>, PipelineStep) |
Makes each step in the collection depend on the specified step. |
| DependsOn(IEnumerable<PipelineStep>, IEnumerable<PipelineStep>) |
Makes each step in the collection depend on the specified target steps. |
| DependsOn(IEnumerable<PipelineStep>, String) |
Makes each step in the collection depend on the specified step name. |
DependsOn(IEnumerable<PipelineStep>, PipelineStep)
- Source:
- PipelineStepExtensions.cs
Makes each step in the collection depend on the specified step.
public static System.Collections.Generic.IEnumerable<Aspire.Hosting.Pipelines.PipelineStep> DependsOn(this System.Collections.Generic.IEnumerable<Aspire.Hosting.Pipelines.PipelineStep> steps, Aspire.Hosting.Pipelines.PipelineStep? step);
static member DependsOn : seq<Aspire.Hosting.Pipelines.PipelineStep> * Aspire.Hosting.Pipelines.PipelineStep -> seq<Aspire.Hosting.Pipelines.PipelineStep>
<Extension()>
Public Function DependsOn (steps As IEnumerable(Of PipelineStep), step As PipelineStep) As IEnumerable(Of PipelineStep)
Parameters
- steps
- IEnumerable<PipelineStep>
The collection of steps.
- step
- PipelineStep
The step to depend on.
Returns
The original collection of steps.
Applies to
DependsOn(IEnumerable<PipelineStep>, IEnumerable<PipelineStep>)
- Source:
- PipelineStepExtensions.cs
Makes each step in the collection depend on the specified target steps.
public static System.Collections.Generic.IEnumerable<Aspire.Hosting.Pipelines.PipelineStep> DependsOn(this System.Collections.Generic.IEnumerable<Aspire.Hosting.Pipelines.PipelineStep> steps, System.Collections.Generic.IEnumerable<Aspire.Hosting.Pipelines.PipelineStep> targetSteps);
static member DependsOn : seq<Aspire.Hosting.Pipelines.PipelineStep> * seq<Aspire.Hosting.Pipelines.PipelineStep> -> seq<Aspire.Hosting.Pipelines.PipelineStep>
<Extension()>
Public Function DependsOn (steps As IEnumerable(Of PipelineStep), targetSteps As IEnumerable(Of PipelineStep)) As IEnumerable(Of PipelineStep)
Parameters
- steps
- IEnumerable<PipelineStep>
The collection of steps.
- targetSteps
- IEnumerable<PipelineStep>
The target steps to depend on.
Returns
The original collection of steps.
Applies to
DependsOn(IEnumerable<PipelineStep>, String)
- Source:
- PipelineStepExtensions.cs
Makes each step in the collection depend on the specified step name.
public static System.Collections.Generic.IEnumerable<Aspire.Hosting.Pipelines.PipelineStep> DependsOn(this System.Collections.Generic.IEnumerable<Aspire.Hosting.Pipelines.PipelineStep> steps, string stepName);
static member DependsOn : seq<Aspire.Hosting.Pipelines.PipelineStep> * string -> seq<Aspire.Hosting.Pipelines.PipelineStep>
<Extension()>
Public Function DependsOn (steps As IEnumerable(Of PipelineStep), stepName As String) As IEnumerable(Of PipelineStep)
Parameters
- steps
- IEnumerable<PipelineStep>
The collection of steps.
- stepName
- String
The name of the step to depend on.
Returns
The original collection of steps.