AddPipeline<TPipeline>(Bootstrapper) Method
Registers a pipeline of type TPipeline.
Namespace
Statiq.App
Containing Type
BootstrapperPipelineExtensions

Syntax

public static Bootstrapper AddPipeline<TPipeline>(this Bootstrapper bootstrapper) 
    where TPipeline : IPipeline

Remarks

Note that this method registers the pipeline with the dependency injection container which the engine uses to populate the initial set of pipelines on instantiation. Therefore any pipelines added through this method will take effect before anything that happens in ConfigureEngine(), even if the call to this method is after the call to that one. To add pipelines after ConfigureEngine is called you will need to manipulate the Pipelines collection directly.

Type Parameters

Name Description
TPipeline

Parameters

Name Type Description
bootstrapper Bootstrapper

Return Value

Type Description
Bootstrapper