Lazily loads a metadata value. This method will be called
for each request and the return object will
be processed like any other metadata value. The implementation
of this method must be thread-safe.
- Namespace
- Statiq
.Common - Containing Type
- Delegate
Metadata Value - Implements
Syntax
public virtual object Get(string key, IMetadata metadata)
Parameters
Name | Type | Description |
---|---|---|
key | string | The metadata key being requested. |
metadata | IMetadata | The metadata object requesting the value. |
Return Value
Type | Description |
---|---|
object | The object to use as the value. |