Executes the specified modules with the specified input documents and returns the result documents.
- Namespace
- Statiq
.Common - Containing Type
- IExecutionContext
Syntax
Task<ImmutableArray<IDocument>> ExecuteModulesAsync(IEnumerable<IModule> modules, IEnumerable<IDocument> inputs)
Parameters
Name | Type | Description |
---|---|---|
modules | IEnumerable |
The modules to execute. |
inputs | IEnumerable |
The documents to execute the modules on. |
Return Value
Type | Description |
---|---|
Task |
The result documents from the executed modules. |