Executes the module for each input document.
If there aren't any input documents and the config delegate doesn't require documents,
this will be called once with a null input.
- Namespace
- Statiq.Common
- Containing Type
- SyncConfigModule<TValue>
- Overridden
- ExecuteConfigAsync(IDocument, IExecutionContext, TValue)
Syntax
protected override sealed Task<IEnumerable<IDocument>> ExecuteConfigAsync(IDocument input, IExecutionContext context, TValue value)
Parameters
Name |
Type |
Description |
input |
IDocument |
The input document this module is currently applying to or null if there aren't any
input documents or if the config delegate doesn't require documents.
|
context |
IExecutionContext |
The execution context. |
value |
TValue |
The evaluated config value. |
Return Value
Type |
Description |
Task<IEnumerable<IDocument>> |
The result documents. |