Skip to content
DocsTry Aspire
DocsTry

PipelineStepAnnotation Constructors

ClassConstructors4 members
An annotation that creates pipeline steps for a resource during deployment.
Constructor(Func<PipelineStepFactoryContext, PipelineStep>)Section titled Constructor(Func<PipelineStepFactoryContext, PipelineStep>)
Initializes a new instance of the PipelineStepAnnotation class.
public class PipelineStepAnnotation
{
public PipelineStepAnnotation(
Func<PipelineStepFactoryContext, PipelineStep> factory)
{
// ...
}
}
factoryFunc<PipelineStepFactoryContext, PipelineStep>A factory function that creates the pipeline step.
Constructor(Func<PipelineStepFactoryContext, Task<PipelineStep>>)Section titled Constructor(Func<PipelineStepFactoryContext, Task<PipelineStep>>)
Initializes a new instance of the PipelineStepAnnotation class.
public class PipelineStepAnnotation
{
public PipelineStepAnnotation(
Func<PipelineStepFactoryContext, Task<PipelineStep>> factory)
{
// ...
}
}
factoryFunc<PipelineStepFactoryContext, Task<PipelineStep>>An async factory function that creates the pipeline step.
Constructor(Func<PipelineStepFactoryContext, IEnumerable<PipelineStep>>)Section titled Constructor(Func<PipelineStepFactoryContext, IEnumerable<PipelineStep>>)
Initializes a new instance of the PipelineStepAnnotation class with a factory that creates multiple pipeline steps.
public class PipelineStepAnnotation
{
public PipelineStepAnnotation(
Func<PipelineStepFactoryContext, IEnumerable<PipelineStep>> factory)
{
// ...
}
}
factoryFunc<PipelineStepFactoryContext, IEnumerable<PipelineStep>>A factory function that creates multiple pipeline steps.
Constructor(Func<PipelineStepFactoryContext, Task<IEnumerable<PipelineStep>>>)Section titled Constructor(Func<PipelineStepFactoryContext, Task<IEnumerable<PipelineStep>>>)
Initializes a new instance of the PipelineStepAnnotation class with a factory that creates multiple pipeline steps.
public class PipelineStepAnnotation
{
public PipelineStepAnnotation(
Func<PipelineStepFactoryContext, Task<IEnumerable<PipelineStep>>> factory)
{
// ...
}
}
factoryFunc<PipelineStepFactoryContext, Task<IEnumerable<PipelineStep>>>An async factory function that creates multiple pipeline steps.