comparison Stocks/Stocks.Common/WebClientShim.cs @ 4:57f20ba55884

Fix for webClientShim to use downloadString instead of downloadData Refactoring and introduction of static TimedDelegates.Execute() helper method
author stevenh7776 stevenhollidge@hotmail.com
date Mon, 20 Feb 2012 23:04:58 +0700
parents 29ed98d659e9
children c812bca7b1ac
comparison
equal deleted inserted replaced
3:ef54074d5285 4:57f20ba55884
15 _webClient = webClient; 15 _webClient = webClient;
16 } 16 }
17 17
18 public string DownloadString(string address) 18 public string DownloadString(string address)
19 { 19 {
20 return _webClient.DownloadData(address).ToString(); 20 return _webClient.DownloadString(address).ToString();
21 } 21 }
22 } 22 }
23 } 23 }