Branch.

Execute(IReadOnlyList<IDocument>, IExecutionContext) Method

Summary

This should not be called directly, instead call IExecutionContext.Execute() if you need to execute a module from within another module.
Assembly
Wyam.Core.dll
Namespace
Wyam.Core.Modules.Control
Containing Type
Branch

Syntax

public override IEnumerable<IDocument> Execute(IReadOnlyList<IDocument> inputs, IExecutionContext context)

Parameters

Name Type Description
inputs IReadOnlyList<IDocument> The input documents to this module.
context IExecutionContext The execution context that can be used to access information about the environment and engine services.

Return Value

Type Description
IEnumerable<IDocument> A set of result documents (possibly the same as the input documents).
GitHub