ExecuteModulesAsync(IEnumerable<IModule>, IEnumerable<IDocument>) Method
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<IModule> The modules to execute.
inputs IEnumerable<IDocument> The documents to execute the modules on.

Return Value

Type Description
Task<ImmutableArray<IDocument>> The result documents from the executed modules.