Class BoolAppSetting
Defined lazy initialized boolean setting
public class BoolAppSetting : AppSetting<bool>
- Inheritance
-
objectCMSLazy<bool>AppSetting<bool>BoolAppSetting
- Inherited Members
- Extension Methods
Constructors
BoolAppSetting(string, bool)
Constructor
public BoolAppSetting(string keyName, bool defaultValue = false)
Parameters
keyNamestringSettings key name
defaultValueboolDefault value
Methods
ConvertValue(object, bool)
Converts the value to a proper type
protected override bool ConvertValue(object value, bool defaultValue)
Parameters
valueobjectValue to convert
defaultValueboolDefault value
Returns
- bool