AddPipeline<TPipeline>(Bootstrapper, string) Method
Registers a pipeline of type TPipeline with the specified name.
Namespace
Statiq.App
Containing Type
BootstrapperPipelineExtensions

Syntax

public static Bootstrapper AddPipeline<TPipeline>(this Bootstrapper bootstrapper, string name) 
    where TPipeline : class, 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
name string

Return Value

Type Description
Bootstrapper