Executes the module once for all input documents.
- Namespace
- Statiq
.Common - Containing Type
- ReadDataModule
<TModule, TItem> - Overridden
- ExecuteContext
(IExecutionContext)
Syntax
protected override IEnumerable<IDocument> ExecuteContext(IExecutionContext context)
Remarks
Override this method to execute the module once for all input documents. The default behavior
calls
ExecuteInput(IDocument, IExecutionContext)
for each input document
and overriding this method will result in ExecuteInput(IDocument, IExecutionContext)
not being called.
Parameters
Name | Type | Description |
---|---|---|
context | IExecutionContext | The execution context. |
Return Value
Type | Description |
---|---|
IEnumerable |
The result documents. |