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);
 }
示例#2
0
 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;
 }
示例#3
0
        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);
        }