view MetroWpf/Stocks.Common/Fakes/FakeWebClientShim.cs @ 42:0d4aff4f699d

Enabled nuget package restore on build
author adminsh@apollo
date Tue, 03 Apr 2012 23:32:40 +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
    }
  }
}