// Token: 0x060008E3 RID: 2275 RVA: 0x0003FFA8 File Offset: 0x0003E1A8
        private bool ProcessResults(object plugin, BackgroundInventory.InventoryTask task, InventoryResultBase result, Node node)
        {
            IBackgroundInventoryPlugin backgroundInventoryPlugin = plugin as IBackgroundInventoryPlugin;

            if (backgroundInventoryPlugin != null)
            {
                return(backgroundInventoryPlugin.ProcessResults(result, node));
            }
            IBackgroundInventoryPlugin2 backgroundInventoryPlugin2 = plugin as IBackgroundInventoryPlugin2;

            return(backgroundInventoryPlugin2 != null && backgroundInventoryPlugin2.ProcessResults(result, new BackgroundInventoryObject(node, task.ObjectID, task.ObjectType)));
        }