Redirect.

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.Contents
Containing Type
Redirect

Syntax

public 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