Summary
Gets a single enum value for a key, using the first
one if multiple values are present and returning the
default value if no entry is found.
- Namespace
- TCLite
.Interfaces - Containing Type
- IPropertyBag
Syntax
Enum GetSetting(string key, Enum defaultValue)
Parameters
Name | Type | Description |
---|---|---|
key | string | |
defaultValue | Enum |
Return Value
Type | Description |
---|---|
Enum |