Method | Description | |
---|---|---|
PageManager ( int pageNumber, |
Creates and dispatches a PageManager to load a search page, parse, extract, validate and return results using the parameter callback EventHandlers
|
|
ToString ( ) : string |
Outputs useful information about the PageManager
|
|
Work ( object sender, |
Loads, chops up, parses and validates one page worth of results.
|
Method | Description | |
---|---|---|
ParseAndValidateProductHtml ( string html ) : Result |
Parses and validates a single product's html, returning a Result containing error messages or the valid AmazonItem
|
public PageManager ( int pageNumber, |
||
pageNumber | int | Which search page number to load |
criteria | The user's search criteria | |
pageLoadMethod | Func |
Supply the method to retrieve html |
updateProgressMethod | ProgressChangedEventHandler | Callback for progress updates |
workerCompleteMethod | RunWorkerCompletedEventHandler | Callback when work complete |
return | System |
public Work ( object sender, |
||
sender | object | |
e | ||
return | void |