IExecutionContext.

Execute(IEnumerable<IModule>, IEnumerable<KeyValuePair<string, Object>>) Method

Summary

Executes the specified modules with an empty initial input document with optional additional metadata and returns the result documents.
Assembly
Wyam.Common.dll
Namespace
Wyam.Common.Execution
Containing Type
IExecutionContext

Syntax

IReadOnlyList<IDocument> Execute(IEnumerable<IModule> modules, IEnumerable<KeyValuePair<string, Object>> metadata = null)

Parameters

Name Type Description
modules IEnumerable<IModule> The modules to execute.
metadata IEnumerable<KeyValuePair<string, Object>> The metadata to use.

Return Value

Type Description
IReadOnlyList<IDocument> The result documents from the executed modules.
GitHub