AddProcess<TBootstrapper>(TBootstrapper, ProcessTiming, Func<IExecutionState, ProcessLauncher>) Method
Adds a new process.
Namespace
Statiq.Web
Containing Type
BootstrapperProcessExtensions

Syntax

public static TBootstrapper AddProcess<TBootstrapper>(this TBootstrapper bootstrapper, ProcessTiming processTiming, Func<IExecutionState, ProcessLauncher> getProcessLauncher) 
    where TBootstrapper : IBootstrapper

Type Parameters

Name Description
TBootstrapper

Parameters

Name Type Description
bootstrapper TBootstrapper The current bootstrapper.
processTiming ProcessTiming When to start the process.
getProcessLauncher Func<IExecutionState, ProcessLauncher> A factory that returns a process launcher.

Return Value

Type Description
TBootstrapper The bootstrapper.