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