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

Afficher le fichier Open project: SIXNetworks/withSIX.Desktop

Méthodes publiques

Méthode 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 méthode

public CreateFromDownload ( string destination, string url, IFileDownloader downloader ) : ArchiveContent
destination string
url string
downloader IFileDownloader
Résultat ArchiveContent

CreateFromDownload() public méthode

public CreateFromDownload ( string name, string destination, string url, IFileDownloader downloader ) : ArchiveContent
name string
destination string
url string
downloader IFileDownloader
Résultat ArchiveContent

CreateFromExisting() public méthode

public CreateFromExisting ( IAbsoluteDirectoryPath destination, IAbsoluteFilePath file, IFileDownloader downloader ) : ArchiveContent
destination IAbsoluteDirectoryPath
file IAbsoluteFilePath
downloader IFileDownloader
Résultat ArchiveContent

CreateFromExisting() public méthode

public CreateFromExisting ( string name, string destination, IAbsoluteFilePath file, IFileDownloader downloader ) : ArchiveContent
name string
destination string
file IAbsoluteFilePath
downloader IFileDownloader
Résultat ArchiveContent

GetName() public méthode

public GetName ( string name, bool trimExtension = true ) : string
name string
trimExtension bool
Résultat string