This content is part of a third party extension that is not supported by the Cake project.
Summary
Get a config-value as a flag from the
ICakeConfiguration.
- Assembly
- Cake
.Module .Shared .dll - Namespace
- Cake
.Module .Shared - Containing Type
- Extensions
Syntax
public static bool GetConfigFlag(this ICakeConfiguration config, string key)
Parameters
| Name | Type | Description |
|---|---|---|
| config | ICakeConfiguration | The ICakeConfiguration. |
| key | string | The config key to get. |
Return Value
| Type | Description |
|---|---|
| bool | true, if the config key exists and equals the text "True". Otherwise, false. |
