Uses a delegate (or value) to determine an object to be set as metadata for each document.
This allows you to specify different metadata for each document depending on the input.
- Namespace
- Statiq
.Core - Containing Type
- SetMetadata
Syntax
public SetMetadata(string key, Config<object> value)
Parameters
Name | Type | Description |
---|---|---|
key | string | The metadata key to set. |
value | Config |
A delegate that returns the object to add as metadata. |