Initializes a new instance of the
CachedDelegateMetadataValue
class.
The specified delegate should be thread-safe.
- Namespace
- Statiq
.Common - Containing Type
- Cached
Delegate Metadata Value
Syntax
public CachedDelegateMetadataValue(Func<IMetadata, object> value)
Parameters
Name | Type | Description |
---|---|---|
value | Func |
The delegate that returns the metadata value. |