Summary
Inserts a new named pipeline into the collection.
- Assembly
- Wyam
.Common .dll - Namespace
- Wyam
.Common .Execution - Containing Type
- Pipeline
Collection Extensions
Syntax
public static IPipeline Insert(this IPipelineCollection pipelines, int index, string name, params IModule[] modules)
Parameters
Name | Type | Description |
---|---|---|
pipelines | IPipelineCollection | The pipeline collection. |
index | int | The index at which to insert the new pipeline. |
name | string | The name of the new pipeline. |
modules | IModule[] | The modules the new pipeline should contain. |
Return Value
Type | Description |
---|---|
IPipeline | The newly inserted pipeline. |