This resolves the value by recursively expanding
IMetadataValue.
- Namespace
- Statiq
.Common - Containing Type
- TypeHelper
Syntax
public static KeyValuePair<string, object> ExpandKeyValuePair(in KeyValuePair<string, object> item, IMetadata metadata)
Parameters
| Name | Type | Description |
|---|---|---|
| item | KeyValuePair |
The metadata key and value being expanded. |
| metadata | IMetadata | The current metadata instance. |
Return Value
| Type | Description |
|---|---|
| KeyValuePair |
The expanded metadata key and value. |