public SettingGetter GetPhoneNumberInputMask() { return _phoneNumberInputMask ?? (_phoneNumberInputMask = GetSetting("PhoneNumberInputMask")); }
private SettingGetter GetWeightBarcodeQuantityLength() { return _weightBarcodeQuantityLength ?? (_weightBarcodeQuantityLength = GetSetting("WeightBarcodeQuantityLength")); }
private SettingGetter GetWeightBarcodePrefix() { return _weightBarcodePrefix ?? (_weightBarcodePrefix = GetSetting("WeightBarcodePrefix")); }
private SettingGetter GetAutoRoundDiscount() { return _autoRoundDiscount ?? (_autoRoundDiscount = GetSetting("AutoRoundDiscount")); }
public SettingGetter ReadLocalSetting(string settingName) { if (!_customSettingCache.ContainsKey(settingName)) { var p = new ProgramSetting { Name = settingName }; var getter = new SettingGetter(p); _customSettingCache.Add(settingName, getter); } return _customSettingCache[settingName]; }
public SettingGetter GetWeightBarcodeItemFormat() { return _weightBarcodeItemFormat ?? (_weightBarcodeItemFormat = GetSetting("WeightBarcodeItemFormat")); }