Called before each module execution.
- Namespace
- Statiq
.Common - Containing Type
- Module
Syntax
protected virtual Task BeforeExecutionAsync(IExecutionContext context)
Remarks
Override this method to configure module state before execution.
Parameters
| Name | Type | Description |
|---|---|---|
| context | IExecutionContext | The execution context. |
Return Value
| Type | Description |
|---|---|
| Task |