public ArchiveContent CreateFromExisting(IAbsoluteDirectoryPath destination, IAbsoluteFilePath file, IFileDownloader downloader) { var name = GetName(file.ToString()); var ac = new ArchiveContent(name, destination.ToString(), downloader); ac.ImportFromArchive(file); return ac; }
public ArchiveContent CreateFromExisting(string name, string destination, IAbsoluteFilePath file, IFileDownloader downloader) { var ac = new ArchiveContent(name, destination, downloader); ac.ImportFromArchive(file); return ac; }