/// <summary>Constructor.</summary> /// <param name="webClient">The web client to use.</param> /// <remarks>Inject a different client to teh constructor for testing purposes.</remarks> protected LoaderBase(TestableWebClient webClient) { WebClient = webClient; WebClient.OpenReadCompleted += Handle_OpenReadCompleted; }
public SampleLoader(TestableWebClient webClient) : base(webClient){}