Executes the module.
- Namespace
- Statiq
.Common - Containing Type
- SyncModule
- Overridden
- ExecuteInputAsync
(IDocument, IExecutionContext)
Syntax
protected override sealed 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. |