Execute.

Execute(Action<IDocument, IExecutionContext>, bool) Constructor

Summary

Specifies a delegate that should be invoked once for each input document. The output from this module will be the input documents.
Assembly
Wyam.Core.dll
Namespace
Wyam.Core.Modules.Extensibility
Containing Type
Execute

Syntax

public Execute(Action<IDocument, IExecutionContext> execute, bool parallel = true)

Parameters

Name Type Description
execute Action<IDocument, IExecutionContext> An action to execute on each input document.
parallel bool The delegate is usually evaluated and each input document is processed in parallel. Setting this to false runs evaluates and processes each document in their original input order.

Return Value

Type Description
void
GitHub