Example #1
0
 internal PluginSettings(PluginInfo pluginInfo, IPluginSettingRepository pluginSettingRepository)
 {
     _pluginInfo = pluginInfo;
     _pluginSettingRepository = pluginSettingRepository;
     _settingEntities         = pluginSettingRepository.GetByPluginGuid(_pluginInfo.Guid).ToDictionary(se => se.Name);
 }
Example #2
0
 internal PluginSettings(PluginInfo pluginInfo, IPluginSettingRepository pluginSettingRepository)
 {
     _pluginInfo = pluginInfo;
     _pluginSettingRepository = pluginSettingRepository;
     _settingEntities         = new Dictionary <string, object>();
 }