ImportFromDownload() public method

public ImportFromDownload ( string url ) : void
url string
return void
Ejemplo n.º 1
0
        public ArchiveContent CreateFromDownload(string name, string destination, string url, IFileDownloader downloader)
        {
            var ac = new ArchiveContent(name, destination, downloader);

            ac.ImportFromDownload(url);
            return(ac);
        }
Ejemplo n.º 2
0
        public ArchiveContent CreateFromDownload(string destination, string url, IFileDownloader downloader)
        {
            var name = GetName(url.Split('/').Last());

            var ac = new ArchiveContent(name, destination, downloader);

            ac.ImportFromDownload(url);
            return(ac);
        }
Ejemplo n.º 3
0
        public ArchiveContent CreateFromDownload(string destination, string url, IFileDownloader downloader) {
            var name = GetName(url.Split('/').Last());

            var ac = new ArchiveContent(name, destination, downloader);
            ac.ImportFromDownload(url);
            return ac;
        }
Ejemplo n.º 4
0
 public ArchiveContent CreateFromDownload(string name, string destination, string url, IFileDownloader downloader) {
     var ac = new ArchiveContent(name, destination, downloader);
     ac.ImportFromDownload(url);
     return ac;
 }