Beispiel #1
0
 public SettingGetter GetPhoneNumberInputMask()
 {
     return _phoneNumberInputMask ?? (_phoneNumberInputMask = GetSetting("PhoneNumberInputMask"));
 }
Beispiel #2
0
 private SettingGetter GetWeightBarcodeQuantityLength()
 {
     return _weightBarcodeQuantityLength ?? (_weightBarcodeQuantityLength = GetSetting("WeightBarcodeQuantityLength"));
 }
Beispiel #3
0
 private SettingGetter GetWeightBarcodePrefix()
 {
     return _weightBarcodePrefix ?? (_weightBarcodePrefix = GetSetting("WeightBarcodePrefix"));
 }
Beispiel #4
0
 private SettingGetter GetAutoRoundDiscount()
 {
     return _autoRoundDiscount ?? (_autoRoundDiscount = GetSetting("AutoRoundDiscount"));
 }
Beispiel #5
0
 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];
 }
Beispiel #6
0
 public SettingGetter GetWeightBarcodeItemFormat()
 {
     return _weightBarcodeItemFormat ?? (_weightBarcodeItemFormat = GetSetting("WeightBarcodeItemFormat"));
 }