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;
 }
Пример #2
0
 public static Tm_DictionaryItem GetItemById(this Tm_Dictionary sourceFirs, int Id)
 {
     return(sourceFirs.Dictionary.FirstOrDefault(x => x.nId == Id));
 }