コード例 #1
0
 public PluginSettings GetPluginSettings(string assemblyName, string pluginName)
 {
     PluginSettings value;
     if (!GetPluginSettings(assemblyName).PluginSettings.TryGetValue(pluginName, out value))
     {
         value = new PluginSettings();
     }
     return value;
 }
コード例 #2
0
 public void PutPluginSettings(string assemblyName, string pluginName, PluginSettings pluginSettings)
 {
     var list = GetPluginSettings(assemblyName);
     list.PluginSettings[pluginName] = pluginSettings;
     PutPluginSettings(assemblyName, list);
 }