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
Afficher le fichier Open project: philcockfield/Open.TestHarness.SL Class Usage Examples

Méthodes publiques

Méthode Description
OpenReadAsync ( Uri address ) : void

Méthodes protégées

Méthode Description
OnOpenReadCompleted ( OpenReadCompletedEventArgs e ) : void
OnOpenReadCompleted ( TestableOpenReadCompletedEventArgs e ) : void

Method Details

OnOpenReadCompleted() protected méthode

protected OnOpenReadCompleted ( OpenReadCompletedEventArgs e ) : void
e System.Net.OpenReadCompletedEventArgs
Résultat void

OnOpenReadCompleted() protected méthode

OpenReadAsync() public méthode

public OpenReadAsync ( Uri address ) : void
address System.Uri
Résultat void