From: gu.martinm@gmail.com Date: Sun, 17 Aug 2014 10:24:19 +0000 (+0200) Subject: WeatherInformation WP8: cleaning up using directives X-Git-Url: https://git.gumartinm.name/?a=commitdiff_plain;h=e85ca3c66bc75807e3afb30fb9e51b8a519219ca;p=CSharpForFun%2F.git WeatherInformation WP8: cleaning up using directives --- diff --git a/WindowsPhone/WeatherInformation/WeatherInformation/App.xaml.cs b/WindowsPhone/WeatherInformation/WeatherInformation/App.xaml.cs index f567f68..5ca98eb 100644 --- a/WindowsPhone/WeatherInformation/WeatherInformation/App.xaml.cs +++ b/WindowsPhone/WeatherInformation/WeatherInformation/App.xaml.cs @@ -8,15 +8,9 @@ using Microsoft.Phone.Shell; using System.Threading; using System.Globalization; using WeatherInformation.Resources; -using WeatherInformation.ViewModels; -using System.IO.IsolatedStorage; -using System.IO; using WeatherInformation.Model; using WeatherInformation.Model.Services; -using System.Threading.Tasks; -using WeatherInformation.Model.ForecastWeatherParser; using WeatherInformation.Model.JsonDataParser; -using WeatherInformation.Model.CurrentWeatherParser; namespace WeatherInformation { diff --git a/WindowsPhone/WeatherInformation/WeatherInformation/MainPage.xaml.cs b/WindowsPhone/WeatherInformation/WeatherInformation/MainPage.xaml.cs index bddd5d3..8c2b9cf 100644 --- a/WindowsPhone/WeatherInformation/WeatherInformation/MainPage.xaml.cs +++ b/WindowsPhone/WeatherInformation/WeatherInformation/MainPage.xaml.cs @@ -2,7 +2,6 @@ using System; using System.Linq; using System.Globalization; -using System.IO.IsolatedStorage; using System.Windows; using System.Windows.Controls; using System.Windows.Navigation; @@ -10,10 +9,7 @@ using WeatherInformation.Model; using WeatherInformation.Model.Services; using WeatherInformation.Resources; using WeatherInformation.ViewModels; -using System.Threading; using System.Threading.Tasks; -using WeatherInformation.Model.ForecastWeatherParser; -using WeatherInformation.Model.CurrentWeatherParser; using WeatherInformation.Model.JsonDataParser; namespace WeatherInformation diff --git a/WindowsPhone/WeatherInformation/WeatherInformation/MapPage.xaml.cs b/WindowsPhone/WeatherInformation/WeatherInformation/MapPage.xaml.cs index 4f1dfd0..d67feb8 100644 --- a/WindowsPhone/WeatherInformation/WeatherInformation/MapPage.xaml.cs +++ b/WindowsPhone/WeatherInformation/WeatherInformation/MapPage.xaml.cs @@ -1,13 +1,9 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Net; using System.Windows; -using System.Windows.Controls; using System.Windows.Navigation; using Microsoft.Phone.Controls; -using Microsoft.Phone.Shell; -using System.IO.IsolatedStorage; using Windows.Devices.Geolocation; using System.Device.Location; using System.Windows.Shapes; @@ -16,7 +12,6 @@ using Microsoft.Phone.Maps.Controls; using WeatherInformation.Resources; using System.Globalization; using Microsoft.Phone.Maps.Services; -using WeatherInformation.Model.Services; using System.Threading.Tasks; using WeatherInformation.Model; diff --git a/WindowsPhone/WeatherInformation/WeatherInformation/Model/CurrentWeatherParser/Clouds.cs b/WindowsPhone/WeatherInformation/WeatherInformation/Model/CurrentWeatherParser/Clouds.cs index 5570271..d3e9557 100644 --- a/WindowsPhone/WeatherInformation/WeatherInformation/Model/CurrentWeatherParser/Clouds.cs +++ b/WindowsPhone/WeatherInformation/WeatherInformation/Model/CurrentWeatherParser/Clouds.cs @@ -1,5 +1,4 @@ -using System; - + namespace WeatherInformation.Model.CurrentWeatherParser { public class Clouds diff --git a/WindowsPhone/WeatherInformation/WeatherInformation/Model/CurrentWeatherParser/Coord.cs b/WindowsPhone/WeatherInformation/WeatherInformation/Model/CurrentWeatherParser/Coord.cs index cd1d487..78aeee3 100644 --- a/WindowsPhone/WeatherInformation/WeatherInformation/Model/CurrentWeatherParser/Coord.cs +++ b/WindowsPhone/WeatherInformation/WeatherInformation/Model/CurrentWeatherParser/Coord.cs @@ -1,5 +1,4 @@ -using System; - + namespace WeatherInformation.Model.CurrentWeatherParser { public class Coord diff --git a/WindowsPhone/WeatherInformation/WeatherInformation/Model/CurrentWeatherParser/CurrentWeather.cs b/WindowsPhone/WeatherInformation/WeatherInformation/Model/CurrentWeatherParser/CurrentWeather.cs index 2302261..d2e1479 100644 --- a/WindowsPhone/WeatherInformation/WeatherInformation/Model/CurrentWeatherParser/CurrentWeather.cs +++ b/WindowsPhone/WeatherInformation/WeatherInformation/Model/CurrentWeatherParser/CurrentWeather.cs @@ -1,5 +1,4 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; namespace WeatherInformation.Model.CurrentWeatherParser { diff --git a/WindowsPhone/WeatherInformation/WeatherInformation/Model/CurrentWeatherParser/Main.cs b/WindowsPhone/WeatherInformation/WeatherInformation/Model/CurrentWeatherParser/Main.cs index 9caf9df..78ad137 100644 --- a/WindowsPhone/WeatherInformation/WeatherInformation/Model/CurrentWeatherParser/Main.cs +++ b/WindowsPhone/WeatherInformation/WeatherInformation/Model/CurrentWeatherParser/Main.cs @@ -1,5 +1,4 @@ -using System; - + namespace WeatherInformation.Model.CurrentWeatherParser { public class Main diff --git a/WindowsPhone/WeatherInformation/WeatherInformation/Model/CurrentWeatherParser/Rain.cs b/WindowsPhone/WeatherInformation/WeatherInformation/Model/CurrentWeatherParser/Rain.cs index 14229be..ec9b570 100644 --- a/WindowsPhone/WeatherInformation/WeatherInformation/Model/CurrentWeatherParser/Rain.cs +++ b/WindowsPhone/WeatherInformation/WeatherInformation/Model/CurrentWeatherParser/Rain.cs @@ -1,5 +1,4 @@ -using System; - + namespace WeatherInformation.Model.CurrentWeatherParser { public class Rain diff --git a/WindowsPhone/WeatherInformation/WeatherInformation/Model/CurrentWeatherParser/Snow.cs b/WindowsPhone/WeatherInformation/WeatherInformation/Model/CurrentWeatherParser/Snow.cs index 94dc1a2..01108fb 100644 --- a/WindowsPhone/WeatherInformation/WeatherInformation/Model/CurrentWeatherParser/Snow.cs +++ b/WindowsPhone/WeatherInformation/WeatherInformation/Model/CurrentWeatherParser/Snow.cs @@ -1,5 +1,4 @@ -using System; - + namespace WeatherInformation.Model.CurrentWeatherParser { public class Snow diff --git a/WindowsPhone/WeatherInformation/WeatherInformation/Model/CurrentWeatherParser/Sys.cs b/WindowsPhone/WeatherInformation/WeatherInformation/Model/CurrentWeatherParser/Sys.cs index 002e8cd..b707f46 100644 --- a/WindowsPhone/WeatherInformation/WeatherInformation/Model/CurrentWeatherParser/Sys.cs +++ b/WindowsPhone/WeatherInformation/WeatherInformation/Model/CurrentWeatherParser/Sys.cs @@ -1,5 +1,4 @@ -using System; - + namespace WeatherInformation.Model.CurrentWeatherParser { public class Sys diff --git a/WindowsPhone/WeatherInformation/WeatherInformation/Model/CurrentWeatherParser/Weather.cs b/WindowsPhone/WeatherInformation/WeatherInformation/Model/CurrentWeatherParser/Weather.cs index 6f5529f..281d68a 100644 --- a/WindowsPhone/WeatherInformation/WeatherInformation/Model/CurrentWeatherParser/Weather.cs +++ b/WindowsPhone/WeatherInformation/WeatherInformation/Model/CurrentWeatherParser/Weather.cs @@ -1,5 +1,4 @@ -using System; - + namespace WeatherInformation.Model.CurrentWeatherParser { public class Weather diff --git a/WindowsPhone/WeatherInformation/WeatherInformation/Model/CurrentWeatherParser/Wind.cs b/WindowsPhone/WeatherInformation/WeatherInformation/Model/CurrentWeatherParser/Wind.cs index 67cf441..a48b82c 100644 --- a/WindowsPhone/WeatherInformation/WeatherInformation/Model/CurrentWeatherParser/Wind.cs +++ b/WindowsPhone/WeatherInformation/WeatherInformation/Model/CurrentWeatherParser/Wind.cs @@ -1,5 +1,4 @@ -using System; - + namespace WeatherInformation.Model.CurrentWeatherParser { public class Wind diff --git a/WindowsPhone/WeatherInformation/WeatherInformation/Model/ForecastWeatherParser/City.cs b/WindowsPhone/WeatherInformation/WeatherInformation/Model/ForecastWeatherParser/City.cs index 6dd2b8b..519ee00 100644 --- a/WindowsPhone/WeatherInformation/WeatherInformation/Model/ForecastWeatherParser/City.cs +++ b/WindowsPhone/WeatherInformation/WeatherInformation/Model/ForecastWeatherParser/City.cs @@ -1,5 +1,4 @@ -using System; - + namespace WeatherInformation.Model.ForecastWeatherParser { public class City diff --git a/WindowsPhone/WeatherInformation/WeatherInformation/Model/ForecastWeatherParser/Coord.cs b/WindowsPhone/WeatherInformation/WeatherInformation/Model/ForecastWeatherParser/Coord.cs index 3f2f2f8..d5556ac 100644 --- a/WindowsPhone/WeatherInformation/WeatherInformation/Model/ForecastWeatherParser/Coord.cs +++ b/WindowsPhone/WeatherInformation/WeatherInformation/Model/ForecastWeatherParser/Coord.cs @@ -1,5 +1,4 @@ -using System; - + namespace WeatherInformation.Model.ForecastWeatherParser { public class Coord diff --git a/WindowsPhone/WeatherInformation/WeatherInformation/Model/ForecastWeatherParser/ForecastWeather.cs b/WindowsPhone/WeatherInformation/WeatherInformation/Model/ForecastWeatherParser/ForecastWeather.cs index e8e6bfe..0395b3f 100644 --- a/WindowsPhone/WeatherInformation/WeatherInformation/Model/ForecastWeatherParser/ForecastWeather.cs +++ b/WindowsPhone/WeatherInformation/WeatherInformation/Model/ForecastWeatherParser/ForecastWeather.cs @@ -1,5 +1,4 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; namespace WeatherInformation.Model.ForecastWeatherParser { diff --git a/WindowsPhone/WeatherInformation/WeatherInformation/Model/ForecastWeatherParser/List.cs b/WindowsPhone/WeatherInformation/WeatherInformation/Model/ForecastWeatherParser/List.cs index 6b9c0dd..c57e3c7 100644 --- a/WindowsPhone/WeatherInformation/WeatherInformation/Model/ForecastWeatherParser/List.cs +++ b/WindowsPhone/WeatherInformation/WeatherInformation/Model/ForecastWeatherParser/List.cs @@ -1,5 +1,4 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; namespace WeatherInformation.Model.ForecastWeatherParser { diff --git a/WindowsPhone/WeatherInformation/WeatherInformation/Model/ForecastWeatherParser/Temp.cs b/WindowsPhone/WeatherInformation/WeatherInformation/Model/ForecastWeatherParser/Temp.cs index cc420c3..6c1eac5 100644 --- a/WindowsPhone/WeatherInformation/WeatherInformation/Model/ForecastWeatherParser/Temp.cs +++ b/WindowsPhone/WeatherInformation/WeatherInformation/Model/ForecastWeatherParser/Temp.cs @@ -1,5 +1,4 @@ -using System; - + namespace WeatherInformation.Model.ForecastWeatherParser { public class Temp diff --git a/WindowsPhone/WeatherInformation/WeatherInformation/Model/ForecastWeatherParser/Weather.cs b/WindowsPhone/WeatherInformation/WeatherInformation/Model/ForecastWeatherParser/Weather.cs index de25421..fbca69b 100644 --- a/WindowsPhone/WeatherInformation/WeatherInformation/Model/ForecastWeatherParser/Weather.cs +++ b/WindowsPhone/WeatherInformation/WeatherInformation/Model/ForecastWeatherParser/Weather.cs @@ -1,5 +1,4 @@ -using System; - + namespace WeatherInformation.Model.ForecastWeatherParser { public class Weather diff --git a/WindowsPhone/WeatherInformation/WeatherInformation/Model/Images/RemoteImagesTranslation.cs b/WindowsPhone/WeatherInformation/WeatherInformation/Model/Images/RemoteImagesTranslation.cs index b62df75..36d6ae0 100644 --- a/WindowsPhone/WeatherInformation/WeatherInformation/Model/Images/RemoteImagesTranslation.cs +++ b/WindowsPhone/WeatherInformation/WeatherInformation/Model/Images/RemoteImagesTranslation.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +using System.Collections.Generic; namespace WeatherInformation.Model.Images { diff --git a/WindowsPhone/WeatherInformation/WeatherInformation/Model/JsonDataParser/JsonParser.cs b/WindowsPhone/WeatherInformation/WeatherInformation/Model/JsonDataParser/JsonParser.cs index 326cf0e..8c2e7a0 100644 --- a/WindowsPhone/WeatherInformation/WeatherInformation/Model/JsonDataParser/JsonParser.cs +++ b/WindowsPhone/WeatherInformation/WeatherInformation/Model/JsonDataParser/JsonParser.cs @@ -1,6 +1,4 @@ using Newtonsoft.Json; -using WeatherInformation.Model.CurrentWeatherParser; -using WeatherInformation.Model.ForecastWeatherParser; using System; namespace WeatherInformation.Model.JsonDataParser diff --git a/WindowsPhone/WeatherInformation/WeatherInformation/Model/Location.cs b/WindowsPhone/WeatherInformation/WeatherInformation/Model/Location.cs index d68a1cc..6f29b0f 100644 --- a/WindowsPhone/WeatherInformation/WeatherInformation/Model/Location.cs +++ b/WindowsPhone/WeatherInformation/WeatherInformation/Model/Location.cs @@ -1,11 +1,7 @@ using System; -using System.Collections.Generic; using System.ComponentModel; using System.Data.Linq; using System.Data.Linq.Mapping; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace WeatherInformation.Model { diff --git a/WindowsPhone/WeatherInformation/WeatherInformation/Model/LocationDataContext.cs b/WindowsPhone/WeatherInformation/WeatherInformation/Model/LocationDataContext.cs index 2e23844..5360ed9 100644 --- a/WindowsPhone/WeatherInformation/WeatherInformation/Model/LocationDataContext.cs +++ b/WindowsPhone/WeatherInformation/WeatherInformation/Model/LocationDataContext.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Data.Linq; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +using System.Data.Linq; namespace WeatherInformation.Model { diff --git a/WindowsPhone/WeatherInformation/WeatherInformation/Model/Services/ServiceParser.cs b/WindowsPhone/WeatherInformation/WeatherInformation/Model/Services/ServiceParser.cs index 7dc52c5..e46219e 100644 --- a/WindowsPhone/WeatherInformation/WeatherInformation/Model/Services/ServiceParser.cs +++ b/WindowsPhone/WeatherInformation/WeatherInformation/Model/Services/ServiceParser.cs @@ -2,10 +2,6 @@ using WeatherInformation.Model.ForecastWeatherParser; using WeatherInformation.Model.JsonDataParser; using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace WeatherInformation.Model.Services { diff --git a/WindowsPhone/WeatherInformation/WeatherInformation/Model/WeatherData.cs b/WindowsPhone/WeatherInformation/WeatherInformation/Model/WeatherData.cs index 1e2e56f..e486922 100644 --- a/WindowsPhone/WeatherInformation/WeatherInformation/Model/WeatherData.cs +++ b/WindowsPhone/WeatherInformation/WeatherInformation/Model/WeatherData.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using WeatherInformation.Model.CurrentWeatherParser; +using WeatherInformation.Model.CurrentWeatherParser; using WeatherInformation.Model.ForecastWeatherParser; namespace WeatherInformation.Model diff --git a/WindowsPhone/WeatherInformation/WeatherInformation/SettingsPage.xaml.cs b/WindowsPhone/WeatherInformation/WeatherInformation/SettingsPage.xaml.cs index 8bea81b..52fb429 100644 --- a/WindowsPhone/WeatherInformation/WeatherInformation/SettingsPage.xaml.cs +++ b/WindowsPhone/WeatherInformation/WeatherInformation/SettingsPage.xaml.cs @@ -1,16 +1,5 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Net; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Navigation; +using System.Windows.Controls; using Microsoft.Phone.Controls; -using Microsoft.Phone.Shell; -using WeatherInformation.ViewModels; -using System.IO.IsolatedStorage; -using System.Collections; -using System.Text; namespace WeatherInformation { diff --git a/WindowsPhone/WeatherInformation/WeatherInformation/ViewModels/ItemViewModel.cs b/WindowsPhone/WeatherInformation/WeatherInformation/ViewModels/ItemViewModel.cs index 6b4349c..ea25aff 100644 --- a/WindowsPhone/WeatherInformation/WeatherInformation/ViewModels/ItemViewModel.cs +++ b/WindowsPhone/WeatherInformation/WeatherInformation/ViewModels/ItemViewModel.cs @@ -1,12 +1,5 @@ using System; using System.ComponentModel; -using System.Diagnostics; -using System.Net; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Input; -using System.Windows.Media; -using System.Windows.Media.Animation; namespace WeatherInformation.ViewModels { diff --git a/WindowsPhone/WeatherInformation/WeatherInformation/ViewModels/MainViewModel.cs b/WindowsPhone/WeatherInformation/WeatherInformation/ViewModels/MainViewModel.cs index 1c1b3e9..09735b3 100644 --- a/WindowsPhone/WeatherInformation/WeatherInformation/ViewModels/MainViewModel.cs +++ b/WindowsPhone/WeatherInformation/WeatherInformation/ViewModels/MainViewModel.cs @@ -2,7 +2,6 @@ using System.Collections.ObjectModel; using System.ComponentModel; using System.Globalization; -using System.IO.IsolatedStorage; using WeatherInformation.Model; using WeatherInformation.Model.Images; using WeatherInformation.Resources; diff --git a/WindowsPhone/WeatherInformation/WeatherInformation/ViewModels/SelectedDateViewModel.cs b/WindowsPhone/WeatherInformation/WeatherInformation/ViewModels/SelectedDateViewModel.cs index 6cbe528..c07f474 100644 --- a/WindowsPhone/WeatherInformation/WeatherInformation/ViewModels/SelectedDateViewModel.cs +++ b/WindowsPhone/WeatherInformation/WeatherInformation/ViewModels/SelectedDateViewModel.cs @@ -1,14 +1,8 @@ using System; -using System.Collections.Generic; using System.ComponentModel; using System.Globalization; -using System.Linq; -using System.Runtime.Serialization; -using System.Text; -using System.Threading.Tasks; using WeatherInformation.Model; using WeatherInformation.Model.Images; -using WeatherInformation.Model.Services; using WeatherInformation.Resources; namespace WeatherInformation.ViewModels diff --git a/WindowsPhone/WeatherInformation/WeatherInformation/ViewModels/SettingsViewModel.cs b/WindowsPhone/WeatherInformation/WeatherInformation/ViewModels/SettingsViewModel.cs index cb1613e..3babef1 100644 --- a/WindowsPhone/WeatherInformation/WeatherInformation/ViewModels/SettingsViewModel.cs +++ b/WindowsPhone/WeatherInformation/WeatherInformation/ViewModels/SettingsViewModel.cs @@ -1,14 +1,6 @@ -using Microsoft.Phone.Controls; -using System; -using System.Collections.Generic; -using System.Collections.ObjectModel; +using System; using System.ComponentModel; using System.IO.IsolatedStorage; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows; -using WeatherInformation.Resources; namespace WeatherInformation.ViewModels {