public PluginSettings GetPluginSettings(string assemblyName, string pluginName) { PluginSettings value; if (!GetPluginSettings(assemblyName).PluginSettings.TryGetValue(pluginName, out value)) { value = new PluginSettings(); } return value; }
public void PutPluginSettings(string assemblyName, string pluginName, PluginSettings pluginSettings) { var list = GetPluginSettings(assemblyName); list.PluginSettings[pluginName] = pluginSettings; PutPluginSettings(assemblyName, list); }