/// <summary>
 ///     Avoid memory leak : caches hold references to dictionaries
 /// </summary>
 /// <param name="dictionary"></param>
 private static void CleanUpDictionary(Dictionary dictionary)
 {
     if (dictionary != null)
     {
         CleanUpCaches cleaner = new CleanUpCaches();
         cleaner.visit(dictionary);
     }
 }
 /// <summary>
 ///     Avoid memory leak : caches hold references to dictionaries
 /// </summary>
 /// <param name="dictionary"></param>
 private static void CleanUpDictionary(Dictionary dictionary)
 {
     if (dictionary != null)
     {
         CleanUpCaches cleaner = new CleanUpCaches();
         cleaner.visit(dictionary);
     }
 }