C# 클래스 withSIX.Sync.Core.Legacy.Archive.ArchiveContentFactory

파일 보기 프로젝트 열기: SIXNetworks/withSIX.Desktop

공개 메소드들

메소드 설명
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