Esempio n. 1
0
 /// <summary>
 /// Resets all cached directory info. Significantly reduces performance; do not use unless strictly necessary.
 /// </summary>
 public static void ResetAllCachedInfo_SLOW()
 {
     foreach (DirectoryItem Item in LocationToItem.Values)
     {
         Item.Info        = new DirectoryInfo(Item.Info.FullName);
         Item.Directories = null;
         Item.Files       = null;
     }
     FileItem.ResetAllCachedInfo_SLOW();
 }