Adds a new process that will be started when in the preview command.
- Namespace
- Statiq
.Web - Containing Type
- ProcessesExtensions
Syntax
public static Processes AddPreviewProcess(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 |
A factory that returns a process launcher. |
Return Value
Type | Description |
---|---|
Processes | The process collection. |