IMetadataValue Interface

Summary

Implement this interface to provide lazy metadata values or values based on other metadata.
graph BT Type["IMetadataValue"] class Type type-node Implementing0["DelegateMetadataValue"]-.->Type click Implementing0 "/api/Wyam.Common.Meta/DelegateMetadataValue" Implementing1["CachedDelegateMetadataValue"]-.->Type click Implementing1 "/api/Wyam.Common.Meta/CachedDelegateMetadataValue"

Syntax

public interface IMetadataValue

Methods

Name Value Summary
Get(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.
GitHub