Mercurial > silverbladetech
view MetroWpf/Stocks.Common/Fakes/FakeWebClientShim.cs @ 76:441fdfce70a7
Working version!
author | Steven Hollidge <stevenhollidge@hotmail.com> |
---|---|
date | Mon, 23 Apr 2012 22:05:53 +0100 |
parents | 6109bc268b90 |
children |
line wrap: on
line source
namespace Stocks.Common.Fakes { public class FakeWebClientShim : IWebClientShim { private string _downloadString; public FakeWebClientShim(string downloadString = "") { _downloadString = downloadString; } public string DownloadString(string address) { return _downloadString; } public void Dispose() { // do nothing } } }