withSIX.Sync.Core.Legacy.Archive.ArchiveContent.ImportFromArchive C# (CSharp) Method

ImportFromArchive() public method

public ImportFromArchive ( IAbsoluteFilePath file ) : void
file IAbsoluteFilePath
return void
        public void ImportFromArchive(IAbsoluteFilePath file) {
            Create();
            Tools.FileUtil.Ops.CopyWithRetry(file, ArchivePath, true);
            UpdateContent();
        }

Usage Example

Ejemplo n.º 1
0
        public ArchiveContent CreateFromExisting(string name, string destination, IAbsoluteFilePath file,
                                                 IFileDownloader downloader)
        {
            var ac = new ArchiveContent(name, destination, downloader);

            ac.ImportFromArchive(file);
            return(ac);
        }
All Usage Examples Of withSIX.Sync.Core.Legacy.Archive.ArchiveContent::ImportFromArchive