Get(string, IMetadata) Method
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
IMetadataValue

Syntax

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.