Mercurial > silverbladetech
annotate MetroWpf/Stocks.Common/Fakes/FakeWebClientShim.cs @ 44:382813d76dde Test
Removal of pdf project
author | Steven Hollidge <stevenhollidge@hotmail.com> |
---|---|
date | Wed, 04 Apr 2012 19:21:31 +0100 |
parents | 6109bc268b90 |
children |
rev | line source |
---|---|
20 | 1 |
2 namespace Stocks.Common.Fakes | |
3 { | |
4 public class FakeWebClientShim : IWebClientShim | |
5 { | |
6 private string _downloadString; | |
7 | |
8 public FakeWebClientShim(string downloadString = "") | |
9 { | |
10 _downloadString = downloadString; | |
11 } | |
12 | |
13 public string DownloadString(string address) | |
14 { | |
15 return _downloadString; | |
16 } | |
17 | |
18 public void Dispose() | |
19 { | |
20 // do nothing | |
21 } | |
22 } | |
23 } |