Executes the module.
- Namespace
- Statiq
.Common - Containing Type
- Module
Syntax
protected virtual Task<IEnumerable<IDocument>> ExecuteInputAsync(IDocument input, IExecutionContext context)
Remarks
This method will be called for each document unless
ExecuteContextAsync(IExecutionContext)
is overridden.
Parameters
Name | Type | Description |
---|---|---|
input | IDocument | The input document this module is currently processing. |
context | IExecutionContext | The execution context. |
Return Value
Type | Description |
---|---|
Task |
The result documents. |