Implement this interface to provide lazy metadata values or values based on other metadata.
- Namespace
- Statiq
.Common - Implementing Types
graph BT
Type["IMetadataValue"]
class Type type-node
Implementing0["IConfig"]-.->Type
click Implementing0 "/api/Statiq.Common/IConfig"
Implementing1["DelegateMetadataValue"]-.->Type
click Implementing1 "/api/Statiq.Common/DelegateMetadataValue"
Implementing2["Config<TValue>"]-.->Type
click Implementing2 "/api/Statiq.Common/Config_1"
Implementing3["CachedDelegateMetadataValue"]-.->Type
click Implementing3 "/api/Statiq.Common/CachedDelegateMetadataValue"
Implementing4["ScriptMetadataValue"]-.->Type
click Implementing4 "/api/Statiq.Common/ScriptMetadataValue"
Implementing5["LazyDocumentMetadataValue"]-.->Type
click Implementing5 "/api/Statiq.Common/LazyDocumentMetadataValue"
Syntax
public interface IMetadataValue
Methods
Name | Return Value | Summary |
---|---|---|
Get |
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.
|