C# Класс withSIX.Sync.Core.Legacy.Archive.ArchiveContentFactory

Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

CreateFromDownload() публичный Метод

public CreateFromDownload ( string destination, string url, IFileDownloader downloader ) : ArchiveContent
destination string
url string
downloader IFileDownloader
Результат ArchiveContent

CreateFromDownload() публичный Метод

public CreateFromDownload ( string name, string destination, string url, IFileDownloader downloader ) : ArchiveContent
name string
destination string
url string
downloader IFileDownloader
Результат ArchiveContent

CreateFromExisting() публичный Метод

public CreateFromExisting ( IAbsoluteDirectoryPath destination, IAbsoluteFilePath file, IFileDownloader downloader ) : ArchiveContent
destination IAbsoluteDirectoryPath
file IAbsoluteFilePath
downloader IFileDownloader
Результат ArchiveContent

CreateFromExisting() публичный Метод

public CreateFromExisting ( string name, string destination, IAbsoluteFilePath file, IFileDownloader downloader ) : ArchiveContent
name string
destination string
file IAbsoluteFilePath
downloader IFileDownloader
Результат ArchiveContent

GetName() публичный Метод

public GetName ( string name, bool trimExtension = true ) : string
name string
trimExtension bool
Результат string