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))); }
public TorrentDetail GetTorrentDetail(ITorrentDetailParser torrentDetailParser, Uri baseUri, string relativeUrl) { return(torrentDetailParser.GetDetailModel(new Uri(baseUri, relativeUrl), DownloadHtml)); }