Summary
Replaces all occurrences of the search string in the string value of the returned
object with the content of each input document. 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
- ReplaceIn
Syntax
public ReplaceIn(string search, DocumentConfig content)
Parameters
Name | Type | Description |
---|---|---|
search | string | The string to search for. |
content | DocumentConfig | A delegate that returns the content within which to search for the search string. |
Return Value
Type | Description |
---|---|
void |