public IEnumerable <ResourceItemEx> GetResourceItems(dynamic parm)
        {
            string resourceId  = parm.ResourceId;
            string resourceSet = parm.ResourceSet;

            var items = Manager.GetResourceItems(resourceId, resourceSet, true).ToList();

            if (items == null)
            {
                throw new InvalidOperationException(Manager.ErrorMessage);
                return(null);
            }

            var itemList = new List <ResourceItemEx>();

            // strip file data for size
            for (int i = 0; i < items.Count; i++)
            {
                var item = new ResourceItemEx(items[i]);
                item.BinFile  = null;
                item.TextFile = null;
                itemList.Add(item);
            }

            return(itemList);
        }
        public IEnumerable <ResourceItemEx> GetResourceItems(dynamic parm)
        {
            string resourceId  = parm.ResourceId;
            string resourceSet = parm.ResourceSet;

            var items = Manager.GetResourceItems(resourceId, resourceSet, true).ToList();

            var itemList = new List <ResourceItemEx>();

            // strip file data for size
            for (int i = 0; i < items.Count; i++)
            {
                var item = new ResourceItemEx(items[i]);
                item.BinFile  = null;
                item.TextFile = null;
                itemList.Add(item);
            }

            return(itemList);
        }