Summary
Uses a function to determine an object to be added as metadata for each document.
This allows you to specify different metadata for each document depending on the context.
- Assembly
- Wyam
.Core .dll - Namespace
- Wyam
.Core .Modules .Metadata - Containing Type
- Meta
Syntax
public Meta(string key, ContextConfig metadata)
Parameters
Name | Type | Description |
---|---|---|
key | string | The metadata key to set. |
metadata | ContextConfig | A delegate that returns the object to add as metadata. |
Return Value
Type | Description |
---|---|
void |