Méthode | Description | |
---|---|---|
Get ( this configuration, string key, bool defaultValue ) : bool |
Tries to get a value from the configuration service.
|
public static Get ( this configuration, string key, bool defaultValue ) : bool | ||
configuration | this | The current IConfiguration instance. |
key | string | The configuration key to fetch the value for. |
defaultValue | bool | The value that will be used if the key is not found. |
Résultat | bool |