public static IBrowsable[] CreateBrowsables(IList <BoboSegmentReader> readerList) { BoboSubBrowser[] browsables = new BoboSubBrowser[readerList.Count]; for (int i = 0; i < readerList.Count; ++i) { browsables[i] = new BoboSubBrowser(readerList.Get(i)); } return(browsables); }
public static BoboSubBrowser[] CreateSegmentedBrowsables(IEnumerable<BoboIndexReader> readerList) { BoboSubBrowser[] browsables = new BoboSubBrowser[readerList.Count()]; int i = 0; foreach (BoboIndexReader reader in readerList) { browsables[i] = new BoboSubBrowser(reader); i++; } return browsables; }
public static BoboSubBrowser[] CreateSegmentedBrowsables(IEnumerable <BoboIndexReader> readerList) { BoboSubBrowser[] browsables = new BoboSubBrowser[readerList.Count()]; int i = 0; foreach (BoboIndexReader reader in readerList) { browsables[i] = new BoboSubBrowser(reader); i++; } return(browsables); }