Example #1
0
 public SettingService(ISettingDao settingDao)
 {
     _settingDao      = settingDao;
     _globalSettings  = new ProgramSettings();
     _settingReplacer = new SettingReplacer(_globalSettings);
 }
 public SettingReplacer(ProgramSettings settings)
 {
     _replaceCache = new Dictionary <string, string>();
     _settings     = settings;
 }