private void RemoveOptionsForPlugin(object plugin) { Plugins.IOptions opts = plugin as Plugins.IOptions; if (opts != null) { Remove(opts.Options); } }
private void AddOptionsForPlugin(object plugin) { Plugins.IOptions opts = plugin as Plugins.IOptions; if (opts != null) { Add(opts.Options); } }