예제 #1
0
        Task <string> IDownloader.Download(string path, IDownloadSearchResult searchResult)
        {
            var torrentSearchResult = searchResult as ITorrentSearchResult;

            if (torrentSearchResult == null)
            {
                throw new NovaromaException(Resources.UnsupportedSearchResult);
            }

            return(Download(path, torrentSearchResult));
        }
예제 #2
0
        Task<string> IDownloader.Download(string path, IDownloadSearchResult searchResult) {
            var torrentSearchResult = searchResult as ITorrentSearchResult;
            if (torrentSearchResult == null)
                throw new NovaromaException(Resources.UnsupportedSearchResult);

            return Download(path, torrentSearchResult);
        }