Summary
This will get documents based on the context so you can perform custom document
fetching behavior. The delegate will only be called once,
regardless of the number of input documents. The return value
is expected to be a
IEnumerable<IDocument>
.
- Assembly
- Wyam
.Core .dll - Namespace
- Wyam
.Core .Modules .Control - Containing Type
- Documents
Syntax
public Documents(ContextConfig documents)
Parameters
Name | Type | Description |
---|---|---|
documents | ContextConfig | A delegate that should return
a IEnumerable<IDocument> containing the documents to output. |
Return Value
Type | Description |
---|---|
void |