internal PageCollection GetPagesByCriteria(Predicate <PageIndexItem> match) { var pageCollection = new PageCollection(); _pageIndex.FindAll(match).ForEach(t => pageCollection.Add(t.PageId)); return(pageCollection); }