ContentModule.

Execute(Object, IDocument, IExecutionContext) Method

Summary

Executes the module with the specified content against a single document. Note that content can be passed in as null, implementers should guard against that.
Assembly
Wyam.Common.dll
Namespace
Wyam.Common.Modules
Containing Type
ContentModule

Syntax

protected abstract IEnumerable<IDocument> Execute(Object content, IDocument input, IExecutionContext context)

Parameters

Name Type Description
content Object The content.
input IDocument The input document.
context IExecutionContext The execution context.

Return Value

Type Description
IEnumerable<IDocument> Result documents.
GitHub