메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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 |
리턴 | System |
public Work ( object sender, |
||
sender | object | |
e | ||
리턴 | void |