PipelineConfigurationContext.GetSteps 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
| GetSteps(IResource) |
Gets all pipeline steps associated with the specified resource. |
| GetSteps(String) |
Gets all pipeline steps with the specified tag. |
| GetSteps(IResource, String) |
Gets all pipeline steps with the specified tag that are associated with the specified resource. |
GetSteps(IResource)
Gets all pipeline steps associated with the specified resource.
public System.Collections.Generic.IEnumerable<Aspire.Hosting.Pipelines.PipelineStep> GetSteps(Aspire.Hosting.ApplicationModel.IResource resource);
member this.GetSteps : Aspire.Hosting.ApplicationModel.IResource -> seq<Aspire.Hosting.Pipelines.PipelineStep>
Public Function GetSteps (resource As IResource) As IEnumerable(Of PipelineStep)
Parameters
- resource
- IResource
The resource to search for.
Returns
A collection of steps associated with the resource.
Applies to
GetSteps(String)
Gets all pipeline steps with the specified tag.
public System.Collections.Generic.IEnumerable<Aspire.Hosting.Pipelines.PipelineStep> GetSteps(string tag);
member this.GetSteps : string -> seq<Aspire.Hosting.Pipelines.PipelineStep>
Public Function GetSteps (tag As String) As IEnumerable(Of PipelineStep)
Parameters
- tag
- String
The tag to search for.
Returns
A collection of steps that have the specified tag.
Applies to
GetSteps(IResource, String)
Gets all pipeline steps with the specified tag that are associated with the specified resource.
public System.Collections.Generic.IEnumerable<Aspire.Hosting.Pipelines.PipelineStep> GetSteps(Aspire.Hosting.ApplicationModel.IResource resource, string tag);
member this.GetSteps : Aspire.Hosting.ApplicationModel.IResource * string -> seq<Aspire.Hosting.Pipelines.PipelineStep>
Public Function GetSteps (resource As IResource, tag As String) As IEnumerable(Of PipelineStep)
Parameters
- resource
- IResource
The resource to search for.
- tag
- String
The tag to search for.
Returns
A collection of steps that have the specified tag and are associated with the resource.