C# Class withSIX.Sync.Core.Legacy.Archive.ArchiveContentFactory

Datei anzeigen Open project: SIXNetworks/withSIX.Desktop

Public Methods

Method Description
CreateFromDownload ( string destination, string url, IFileDownloader downloader ) : ArchiveContent
CreateFromDownload ( string name, string destination, string url, IFileDownloader downloader ) : ArchiveContent
CreateFromExisting ( IAbsoluteDirectoryPath destination, IAbsoluteFilePath file, IFileDownloader downloader ) : ArchiveContent
CreateFromExisting ( string name, string destination, IAbsoluteFilePath file, IFileDownloader downloader ) : ArchiveContent
GetName ( string name, bool trimExtension = true ) : string

Method Details

CreateFromDownload() public method

public CreateFromDownload ( string destination, string url, IFileDownloader downloader ) : ArchiveContent
destination string
url string
downloader IFileDownloader
return ArchiveContent

CreateFromDownload() public method

public CreateFromDownload ( string name, string destination, string url, IFileDownloader downloader ) : ArchiveContent
name string
destination string
url string
downloader IFileDownloader
return ArchiveContent

CreateFromExisting() public method

public CreateFromExisting ( IAbsoluteDirectoryPath destination, IAbsoluteFilePath file, IFileDownloader downloader ) : ArchiveContent
destination IAbsoluteDirectoryPath
file IAbsoluteFilePath
downloader IFileDownloader
return ArchiveContent

CreateFromExisting() public method

public CreateFromExisting ( string name, string destination, IAbsoluteFilePath file, IFileDownloader downloader ) : ArchiveContent
name string
destination string
file IAbsoluteFilePath
downloader IFileDownloader
return ArchiveContent

GetName() public method

public GetName ( string name, bool trimExtension = true ) : string
name string
trimExtension bool
return string