ImportFromDownload() public méthode

public ImportFromDownload ( string url ) : void
url string
Résultat void
Exemple #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);
        }
Exemple #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);
        }
        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;
        }
 public ArchiveContent CreateFromDownload(string name, string destination, string url, IFileDownloader downloader) {
     var ac = new ArchiveContent(name, destination, downloader);
     ac.ImportFromDownload(url);
     return ac;
 }