Example #1
0
 /// <summary>
 /// Loads file items from index.
 /// Recreates index if index needs to be updated or forced to be rebuild by rebuildIndex parameter.
 /// </summary>
 /// <param name="rebuildIndex"></param>
 public void LoadItems(bool rebuildIndex)
 {
     if (rebuildIndex)
     {
         fileIndex.CreateIndex();
     }
     else
     {
         fileIndex.LoadIndex();
     }
 }