Esempio n. 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));
        }
        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);
        }