Sets the config for a given key.
- Namespace
- Statiq
.Common - Containing Type
- Multi
Config Module Base
Syntax
protected MultiConfigModuleBase SetConfig(string key, IConfig config)
Parameters
| Name | Type | Description |
|---|---|---|
| key | string | The key of the config to set. |
| config | IConfig | The config to set or null to remove the key. |
Return Value
| Type | Description |
|---|---|
| Multi |
The current instance. |