While Wyam is certainly still usable, it's been rebranded and rebooted as Statiq with a ton of improvements. You almost certainly want to look there unless you're already a Wyam user.

Combine Class

Summary

Combines all of the input documents into a single output document.
Assembly
Wyam.Core.dll
Namespace
Wyam.Core.Modules.Control
Interfaces
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["IModule"] click Interface0 "/api/Wyam.Common.Modules/IModule" Type["Combine"] class Type type-node

Syntax

public class Combine : IModule

Remarks

The first input document serves as the basis for the combine operation. The content of every following input document is appended to the existing combined content, and the metadata of every following document replaces that of the previous documents (any metadata for which keys don't exist in the following documents is retained). A single output document with the combined content and metadata is output.

Methods

Name Value Summary
Execute(IReadOnlyList<IDocument>, IExecutionContext) IEnumerable<IDocument>
This should not be called directly, instead call IExecutionContext.Execute() if you need to execute a module from within another module.
GitHub