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