| SettingControllerGetCustomerSettingValueT Method |
Tip: to ensure that you don't get a cached result the method must be called in an IgnoreCacheContext.
Namespace:
Omada.OE.AppLogic
Assembly:
Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntaxpublic virtual T GetCustomerSettingValue<T>(
string key,
T defaultValue
)
where T : Object, IEquatable<T>
Parameters
- key
- Type: SystemString
Customer setting key.
- defaultValue
- Type: T
Is returned if the setting doesn't exist or has no value.
Must be a string, int, bool or DateTime.
Type Parameters
- T
Return Value
Type:
T
See Also