コード例 #1
0
        /// <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();
        }