Executes the specified modules without an initial input document and returns the result documents.
- Namespace
- Statiq
.Common - Containing Type
- I
Execution Context Execute Modules Extensions
Syntax
public static Task<ImmutableArray<IDocument>> ExecuteModulesAsync(this IExecutionContext executionContext, IEnumerable<IModule> modules)
Parameters
| Name | Type | Description |
|---|---|---|
| executionContext | IExecutionContext | The execution context. |
| modules | IEnumerable |
The modules to execute. |
Return Value
| Type | Description |
|---|---|
| Task |
The result documents from the executed modules. |