コード例 #1
0
        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));
        }
コード例 #2
0
 public List <TorrentSearchResult> GetSearchResults(ITorrentSearchResultsParser torrentSearchResultParser, SearchUriBuilder searchUriBuilder, string query, int numberOfResults = 10)
 {
     return(torrentSearchResultParser.GetSearchResults(searchUriBuilder, query, numberOfResults, DownloadHtml));
 }