Gets the config for a given key.
- Namespace
- Statiq
.Common - Containing Type
- Multi
Config Module Base
Syntax
protected IConfig GetConfig(string key)
Parameters
| Name | Type | Description |
|---|---|---|
| key | string | The key of the config to get. |
Return Value
| Type | Description |
|---|---|
| IConfig | The config or null if the key is not found. |