text: public virtual IList<FacetEntry> GetFacetEntries(int offset, int limit){List<FacetEntry> entries = new List<FacetEntry>();int skipped = 0;int included = 0;foreach (FacetEntry facetEntry in facetEntries){if (skipped < offset){skipped++;continue;}if (included++ >= limit){break;}entries.Add(facetEntry);}return entries;}