public List <TorrentSearchResult> GetSearchResults(ITorrentSearchResultsParser torrentSearchResultParser, SearchUriBuilder searchUriBuilder, string query, int numberOfResults = 10) { Contract.Requires(torrentSearchResultParser != null); Contract.Requires(searchUriBuilder != null); Contract.Requires(!String.IsNullOrEmpty(query)); return(torrentSearchResultParser.GetSearchResults(searchUriBuilder, query, numberOfResults)); }
public List <TorrentSearchResult> GetSearchResults(ITorrentSearchResultsParser torrentSearchResultParser, SearchUriBuilder searchUriBuilder, string query, int numberOfResults = 10) { return(torrentSearchResultParser.GetSearchResults(searchUriBuilder, query, numberOfResults, DownloadHtml)); }