Adds a new process.
- Namespace
- Statiq
.Web - Containing Type
- Bootstrapper
Process Extensions
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 |
A factory that returns a process launcher. |
Return Value
| Type | Description |
|---|---|
| TBootstrapper | The bootstrapper. |