C# Class WallpaperDownloader.App.DownloadStrategies.DownloadStrategy

Inheritance: IDownloadStrategy
Mostra file Open project: iordan93/WallpaperDownloader

Public Methods

Method Description
DownloadStrategy ( IWebDriver browser ) : System
Execute ( ) : void

Protected Methods

Method Description
ExecuteCustomStrategy ( ) : void
GetBaseDownloadUrl ( ) : string
GetDownloadUrlForPage ( int pageNumber ) : string

Private Methods

Method Description
DownloadImages ( ) : void
EnsureDownloadsHaveFinished ( ) : void
SelectPages ( ) : void
TryDownloadImage ( ) : void

Method Details

DownloadStrategy() public method

public DownloadStrategy ( IWebDriver browser ) : System
browser IWebDriver
return System

Execute() public method

public Execute ( ) : void
return void

ExecuteCustomStrategy() protected abstract method

protected abstract ExecuteCustomStrategy ( ) : void
return void

GetBaseDownloadUrl() protected abstract method

protected abstract GetBaseDownloadUrl ( ) : string
return string

GetDownloadUrlForPage() protected abstract method

protected abstract GetDownloadUrlForPage ( int pageNumber ) : string
pageNumber int
return string