コード例 #1
0
        public TorrentDetail GetTorrentDetail(ITorrentDetailParser torrentDetailParser, Uri baseUri, string relativeUrl)
        {
            Contract.Requires(torrentDetailParser != null);
            Contract.Requires(baseUri != null);
            Contract.Requires(!String.IsNullOrEmpty(relativeUrl));

            return(torrentDetailParser.GetDetailModel(new Uri(baseUri, relativeUrl)));
        }
コード例 #2
0
 public TorrentDetail GetTorrentDetail(ITorrentDetailParser torrentDetailParser, Uri baseUri, string relativeUrl)
 {
     return(torrentDetailParser.GetDetailModel(new Uri(baseUri, relativeUrl), DownloadHtml));
 }