Summary
Appends the specified content to the existing content of each document.
- Assembly
- Wyam
.Core .dll - Namespace
- Wyam
.Core .Modules .Contents - Interfaces
- Base Types
-
- Object
- ContentModule
graph BT
Type-->Base0["ContentModule"]
click Base0 "/api/Wyam.Common.Modules/ContentModule"
Base0-->Base1["Object"]
Type-.->Interface0["IModule"]
click Interface0 "/api/Wyam.Common.Modules/IModule"
Type["Append"]
class Type type-node
Syntax
public class Append : ContentModule, IModule
Constructors
Name | Summary |
---|---|
Append |
Appends the string value of the returned object to to content of each document. This allows you to specify different content to append depending on the execution context. |
Append |
Appends the string value of the returned object to to content of each document. This allows you to specify different content to append for each document depending on the input document. |
Append |
The specified modules are executed against an empty initial document and the results are appended to the content of every input document (possibly creating more than one output document for each input document). |
Append |
Appends the string value of the specified object to the content of every input document. |
Methods
Name | Value | Summary |
---|---|---|
Execute |
IEnumerable |
This should not be called directly, instead call
IExecutionContext.Execute() if you need to execute a module from within another module.
Inherited from ContentModule
|
Execute |
IEnumerable |
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.
|