Skip to content
DocsTry Aspire
DocsTry

PipelineConfigurationContext Methods

ClassMethods3 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)
{
// ...
}
}
tagstringThe 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)
{
// ...
}
}
resourceIResourceThe 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.Pipeline 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)
{
// ...
}
}
resourceIResourceThe resource to search for.
tagstringThe 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.Pipeline instead.