Summary
Inserts a new unnamed 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, params IModule[] modules)
Parameters
Name | Type | Description |
---|---|---|
pipelines | IPipelineCollection | The pipeline collection. |
index | int | The index at which to insert the new pipeline. |
modules | IModule[] | The modules the new pipeline should contain. |
Return Value
Type | Description |
---|---|
IPipeline | The newly inserted pipeline. |