C# Class Open.Core.Common.Network.TestableWebClient

An wrapper of the web-client that provides virtual methods so that they may be overridden by unit-tests.
See: http://msmvps.com/blogs/theproblemsolver/archive/2008/12/07/unit-testing-in-silverlight-part-2.aspx
Datei anzeigen Open project: philcockfield/Open.TestHarness.SL Class Usage Examples

Public Methods

Method Description
OpenReadAsync ( Uri address ) : void

Protected Methods

Method Description
OnOpenReadCompleted ( OpenReadCompletedEventArgs e ) : void
OnOpenReadCompleted ( TestableOpenReadCompletedEventArgs e ) : void

Method Details

OnOpenReadCompleted() protected method

protected OnOpenReadCompleted ( OpenReadCompletedEventArgs e ) : void
e System.Net.OpenReadCompletedEventArgs
return void

OnOpenReadCompleted() protected method

OpenReadAsync() public method

public OpenReadAsync ( Uri address ) : void
address System.Uri
return void