Prepend.

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.Core.dll
Namespace
Wyam.Core.Modules.Contents
Containing Type
Prepend

Syntax

protected override 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