Property | Type | Description | |
---|---|---|---|
CheckForError |
Method | Description | |
---|---|---|
Handle_OpenReadCompleted ( object sender, TestableOpenReadCompletedEventArgs e ) : void | ||
Load ( ) : void |
Commences the load operation. Implementers see the 'OnPreload' and 'OnLoadCallback' method. |
|
Load ( System.Action callback ) : void |
Commences the load operation, and invokes a callback on complete.
|
Method | Description | |
---|---|---|
GetUri ( ) : |
Retrieves the URI of the server location to access.
|
|
LoaderBase ( ) : System |
Constructor.
|
|
LoaderBase ( TestableWebClient webClient ) : System |
Constructor. Inject a different client to teh constructor for testing purposes. |
|
OnLoadCallback ( TestableOpenReadCompletedEventArgs e ) : void |
Called after the load operation has completed. Check the 'LoadError' property to see whether the operation was successful. |
|
OnLoadFailed ( ) : void | ||
OnLoaded ( ) : void | ||
OnPreload ( ) : bool |
Fired before the server call is initiated.
|
Method | Description | |
---|---|---|
CheckForError ( TestableOpenReadCompletedEventArgs e ) : |
public Handle_OpenReadCompleted ( object sender, TestableOpenReadCompletedEventArgs e ) : void | ||
sender | object | |
e | TestableOpenReadCompletedEventArgs | |
return | void |
public Load ( System.Action callback ) : void | ||
callback | System.Action | The callback to invoke. |
return | void |
protected LoaderBase ( TestableWebClient webClient ) : System | ||
webClient | TestableWebClient | The web client to use. |
return | System |
protected abstract OnLoadCallback ( TestableOpenReadCompletedEventArgs e ) : void | ||
e | TestableOpenReadCompletedEventArgs | The event arguments containing information about the server call. |
return | void |