Skip to content
Docs Try Aspire

PipelineConfigurationContext Methods

Class Methods 3 members
Provides contextual information for pipeline configuration callbacks.
Gets all pipeline steps with the specified tag.
public class PipelineConfigurationContext
{
public IEnumerable<PipelineStep> GetSteps(
string tag)
{
// ...
}
}
tag string The tag to search for.
IEnumerable<PipelineStep> A collection of steps that have the specified tag.
Gets all pipeline steps associated with the specified resource.
public class PipelineConfigurationContext
{
public IEnumerable<PipelineStep> GetSteps(
IResource resource)
{
// ...
}
}
resource IResource The resource to search for.
IEnumerable<PipelineStep> A collection of steps associated with the resource.
This overload is not available in polyglot app hosts. Use PipelineConfigurationContext.Steps or PipelineConfigurationContext.GetSteps instead.
Gets all pipeline steps with the specified tag that are associated with the specified resource.
public class PipelineConfigurationContext
{
public IEnumerable<PipelineStep> GetSteps(
IResource resource,
string tag)
{
// ...
}
}
resource IResource The resource to search for.
tag string The tag to search for.
IEnumerable<PipelineStep> A collection of steps that have the specified tag and are associated with the resource.
This overload is not available in polyglot app hosts. Use PipelineConfigurationContext.Steps or PipelineConfigurationContext.GetSteps instead.