AddNonPreviewProcess(Processes, ProcessTiming, Func<IExecutionState, ProcessLauncher>) Method
Adds a new process that will be started when not in the preview command.
Namespace
Statiq.Web
Containing Type
ProcessesExtensions

Syntax

public static Processes AddNonPreviewProcess(this Processes processes, ProcessTiming processTiming, Func<IExecutionState, ProcessLauncher> getProcessLauncher)

Parameters

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

Return Value

Type Description
Processes The process collection.