AddBackgroundNonPreviewProcess<TBootstrapper>(TBootstrapper, ProcessTiming, string, string[]) Method
Adds a new process that runs in the background and will be started when not in the preview command.
Namespace
Statiq.Web
Containing Type
BootstrapperProcessExtensions

Syntax

public static TBootstrapper AddBackgroundNonPreviewProcess<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.