Summary
Replaces all occurrences of the search string in every input document with the
string value of the returned object. This allows you to specify different content
for each document depending on the input document.
- Assembly
- Wyam
.Core .dll - Namespace
- Wyam
.Core .Modules .Contents - Containing Type
- Replace
Syntax
public Replace(string search, DocumentConfig content)
Parameters
Name | Type | Description |
---|---|---|
search | string | The string to search for. |
content | DocumentConfig | A delegate that returns the content to replace the search string with. |
Return Value
Type | Description |
---|---|
void |