internal IAdaPluginConfig GetConfig(IAdaPlugin plugin) { if (this.DeclaredConfigs.ContainsKey(plugin.ConfigType)) { return(this.DeclaredConfigs[plugin.ConfigType]); } return(null); }
public void UpdateConfig(IAdaPlugin plugin) { this.DeclaredConfigs[plugin.ConfigType] = plugin.Config; this.WriteConfigs(); }