From: gu.martinm@gmail.com Date: Sat, 16 Aug 2014 20:32:51 +0000 (+0200) Subject: WeatherInformation WP8: remove useless code. X-Git-Url: https://git.gumartinm.name/?a=commitdiff_plain;h=5db6a121699a1e4628818d7120434b715636adfd;p=CSharpForFun%2F.git WeatherInformation WP8: remove useless code. --- diff --git a/WindowsPhone/WeatherInformation/WeatherInformation/App.xaml.cs b/WindowsPhone/WeatherInformation/WeatherInformation/App.xaml.cs index c4897c3..8a009ce 100644 --- a/WindowsPhone/WeatherInformation/WeatherInformation/App.xaml.cs +++ b/WindowsPhone/WeatherInformation/WeatherInformation/App.xaml.cs @@ -108,17 +108,6 @@ namespace WeatherInformation } } - private void SaveDataToTemporaryFile(string pathToTemporaryFile, string value) - { - using (IsolatedStorageFile isoStore = IsolatedStorageFile.GetUserStoreForApplication()) - using (IsolatedStorageFileStream fileStream = isoStore.OpenFile(pathToTemporaryFile, FileMode.Create)) - using (StreamWriter sw = new StreamWriter(fileStream)) - { - sw.Write(value); - fileStream.Flush(true); - } - } - // Código para ejecutar cuando la aplicación se inicia (p.ej. a partir de Inicio) // Este código no se ejecutará cuando la aplicación se reactive private void Application_Launching(object sender, LaunchingEventArgs e)