AddBackgroundProcess<TBootstrapper>(TBootstrapper, ProcessTiming, string, string[]) Method
Adds a new process that runs in the background.
Namespace
Statiq.Web
Containing Type
BootstrapperProcessExtensions

Syntax

public static TBootstrapper AddBackgroundProcess<TBootstrapper>(this TBootstrapper bootstrapper, ProcessTiming processTiming, string fileName, params string[] arguments) 
    where TBootstrapper : IBootstrapper

Type Parameters

Name Description
TBootstrapper

Parameters

Name Type Description
bootstrapper TBootstrapper The current bootstrapper.
processTiming ProcessTiming When to start the process.
fileName string The file name of the process to start.
arguments string[] The arguments to pass to the process.

Return Value

Type Description
TBootstrapper The bootstrapper.