IMetadataValue Interface
Implement this interface to provide lazy metadata values or values based on other metadata.
graph BT Type["IMetadataValue"] class Type type-node Implementing0["Config<TValue>"]-.->Type click Implementing0 "/api/Statiq.Common/Config_1" Implementing1["ScriptMetadataValue"]-.->Type click Implementing1 "/api/Statiq.Common/ScriptMetadataValue" Implementing2["LazyDocumentMetadataValue"]-.->Type click Implementing2 "/api/Statiq.Common/LazyDocumentMetadataValue" Implementing3["DelegateMetadataValue"]-.->Type click Implementing3 "/api/Statiq.Common/DelegateMetadataValue" Implementing4["IConfig"]-.->Type click Implementing4 "/api/Statiq.Common/IConfig" Implementing5["CachedDelegateMetadataValue"]-.->Type click Implementing5 "/api/Statiq.Common/CachedDelegateMetadataValue"

Syntax

public interface IMetadataValue

Methods

Name Return Value Summary
Get(string, IMetadata) object
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.

Extension Methods