Class StringAppSetting
Defined lazy initialized string setting
public class StringAppSetting : AppSetting<string>
- Inheritance
-
objectCMSLazy<string>AppSetting<string>StringAppSetting
- Inherited Members
- Extension Methods
Constructors
StringAppSetting(string, string)
Constructor
public StringAppSetting(string keyName, string defaultValue)
Parameters
keyName
stringSettings key name
defaultValue
stringDefault value
Methods
ConvertValue(object, string)
Converts the value to a proper type
protected override string ConvertValue(object value, string defaultValue)
Parameters
value
objectValue to convert
defaultValue
stringDefault value
Returns
- string