Esempio n. 1
0
        private void RemoveOptionsForPlugin(object plugin)
        {
            Plugins.IOptions opts = plugin as Plugins.IOptions;

            if (opts != null)
            {
                Remove(opts.Options);
            }
        }
Esempio n. 2
0
        private void AddOptionsForPlugin(object plugin)
        {
            Plugins.IOptions opts = plugin as Plugins.IOptions;

            if (opts != null)
            {
                Add(opts.Options);
            }
        }