Replace.

Replace(string, ContextConfig) Constructor

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 depending on the execution context.
Assembly
Wyam.Core.dll
Namespace
Wyam.Core.Modules.Contents
Containing Type
Replace

Syntax

public Replace(string search, ContextConfig content)

Parameters

Name Type Description
search string The string to search for.
content ContextConfig A delegate that returns the content to replace the search string with.

Return Value

Type Description
void
GitHub