/// <summary>
        /// Constructor creating WeatherModel
        /// </summary>
        public WeatherModel()
        {
            string temporaryFilePath = @"C:/Temp/weatherXML.xml";
            string temporaryDirectoryPath = @"C:/Temp";
            temporaryWeatherFile = new TemporaryWeatherFile(temporaryFilePath, temporaryDirectoryPath);

            GetCountryAndCityData();
        }
Пример #2
0
        /// <summary>
        /// Constructor creating WeatherModel
        /// </summary>
        public WeatherModel()
        {
            string temporaryFilePath      = @"C:/Temp/weatherXML.xml";
            string temporaryDirectoryPath = @"C:/Temp";

            temporaryWeatherFile = new TemporaryWeatherFile(temporaryFilePath, temporaryDirectoryPath);

            GetCountryAndCityData();
        }