예제 #1
0
        public void RemoveItemsForPlugin(PluginIdentity identity)
        {
            _menuIndex.RemoveItemsForPlugin(identity);

            for (int i = this.Count() - 1; i >= 0; i--)
            {
                var bar = this[i];
                if (bar.PluginIdentity == identity)
                {
                    Remove(i);
                }
                else
                {
                    ItemCollectionBase.RemoveItems(bar.Items, identity);
                }
            }
        }
예제 #2
0
        public void RemoveItemsForPlugin(PluginIdentity identity)
        {
            _menuIndex.RemoveItemsForPlugin(identity);

            ItemCollectionBase.RemoveItems(Items, identity);
        }