Summary
Searches for sidecar files at the same path as the input document SourceFilePath with the specified additional extension.
If a sidecar file is found, it's content is passed to the specified child modules for processing.
- Assembly
- Wyam
.Core .dll - Namespace
- Wyam
.Core .Modules .Control - Containing Type
- Sidecar
Syntax
public Sidecar(string extension, IEnumerable<IModule> modules)
Parameters
Name | Type | Description |
---|---|---|
extension | string | The extension to search. |
modules | IEnumerable |
The modules to execute against the sidecar file. |
Return Value
Type | Description |
---|---|
void |