Esempio n. 1
0
 /// <summary>
 /// Scans an arbitrary directory tree
 /// </summary>
 /// <param name="Directory">Root of the directory tree</param>
 static void ScanDirectoryTree(DirectoryItem Directory)
 {
     foreach (DirectoryItem SubDirectory in Directory.EnumerateDirectories())
     {
         Enqueue(() => ScanDirectoryTree(SubDirectory));
     }
     Directory.CacheFiles();
 }