Creates a config value by getting the string metadata value from the execution context of a specified key.
- Namespace
- Statiq
.Common - Containing Type
- Config
Syntax
public static Config<string> FromSetting(string key)
Parameters
| Name | Type | Description |
|---|---|---|
| key | string | The metadata key to get the string value from. |
Return Value
| Type | Description |
|---|---|
| Config |
A config object. |