private static void Load(BasicDictionaries dictionaries)
 {
     CityDictionary     = new Tm_Dictionary(dictionaries.CityDictionary);
     DistrictDictionary = new Tm_Dictionary(dictionaries.DistrictDictionary);
     StreetDictionary   = new Tm_Dictionary(dictionaries.StreetDictionary);
     DCRecords          = dictionaries.DCRecords;
     SDCRecords         = dictionaries.SDCRecords;
 }
 public static bool InitUsingCache()
 {
     try
     {
         BasicDictionaries dictionaries = DictionariesCache.GetDictionariesOptimized();
         if (ReferenceEquals(dictionaries, null))
         {
             DictionariesCache.ReloadOptimized();
             dictionaries = DictionariesCache.GetDictionariesOptimized();
         }
         Load(dictionaries);
     }
     catch (Exception e)
     {
         return(false);
     }
     return(true);
 }