Summary
Creates a new content module with the content determined by child modules.
- Assembly
- Wyam
.Common .dll - Namespace
- Wyam
.Common .Modules - Containing Type
- ContentModule
Syntax
protected ContentModule(params IModule[] modules)
Remarks
If only one input document is available, it will be used as the initial document for the specified modules.
If more than one document is available, an empty initial document will be used.
To force usage of each input document in a set (I.e., A, B, and C input documents specify a unique "template" metadata value and you want to append
some result of operating on that template value to each), make the content module a child of the ForEach module.
Each input will be applied against each result from the specified modules (I.e., if 2 inputs and the module chain results in 2 outputs, there will be 4 total outputs).
Parameters
Name | Type | Description |
---|---|---|
modules | IModule[] | The child modules. |
Return Value
Type | Description |
---|---|
void |