Пример #1
0
        static Address()
        {
            CITY_PREFIXES = _CITY_PREFIXES.SelectMany(item => COMPASS_DIRECTIONS.Select(dir => dir + " " + item)).ToArray();
            var raw = File.ReadAllText("config/us_population_data.json");

            US_POPULATION_DATA = JsonConvert.DeserializeObject <USPopulationData>(raw);
        }
Пример #2
0
 static Address()
 {
     CITY_PREFIXES = _CITY_PREFIXES.SelectMany(item => COMPASS_DIRECTIONS.Select(dir => dir + " " + item)).ToArray();
 }