Summary
Uses a delegate to describe where to find the sidecar file for each input document.
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(DocumentConfig sidecarPath, params IModule[] modules)
Parameters
| Name | Type | Description |
|---|---|---|
| sidecarPath | DocumentConfig | A delegate that returns a Wyam.Common.IO.FilePath with the desired sidecar path. |
| modules | IModule[] | The modules to execute against the sidecar file. |
Return Value
| Type | Description |
|---|---|
| void |
