C# Класс withSIX.Core.Extensions.NDependPathHelpers

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

Открытые свойства

Свойство Тип Описание
ArchiveRx System.Text.RegularExpressions.Regex

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

Метод Описание
Copy ( this src, IAbsoluteDirectoryPath destination, bool overwrite = true, bool checkMd5 = false ) : void
Copy ( this src, IAbsoluteFilePath destination, bool overwrite = true, bool checkMd5 = false ) : void
CopyAsync ( this src, IAbsoluteDirectoryPath destination, bool overwrite = true, bool checkMd5 = false, ITProgress status = null ) : System.Threading.Tasks.Task
CopyAsync ( this src, IAbsoluteFilePath destination, bool overwrite = true, bool checkMd5 = false, ITProgress status = null ) : System.Threading.Tasks.Task
IsArchive ( this absoluteFilePath ) : bool
Move ( this src, IAbsoluteDirectoryPath destination, bool overwrite = true, bool checkMd5 = false ) : void
Move ( this src, IAbsoluteFilePath destination, bool overwrite = true, bool checkMd5 = false ) : void
ToRelativeDirectoryPaths ( this directories ) : IEnumerable
ToRelativeFilePaths ( this files ) : IEnumerable
Unpack ( this src, IAbsoluteDirectoryPath outputFolder, bool overwrite = false, bool fullPath = true, bool checkFileIntegrity = true, ITProgress progress = null ) : void

Приватные методы

Метод Описание
ToRelativeDirectory ( this directory ) : IRelativeDirectoryPath
ToRelativeFile ( this file ) : IRelativeFilePath

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

Copy() публичный статический Метод

public static Copy ( this src, IAbsoluteDirectoryPath destination, bool overwrite = true, bool checkMd5 = false ) : void
src this
destination IAbsoluteDirectoryPath
overwrite bool
checkMd5 bool
Результат void

Copy() публичный статический Метод

public static Copy ( this src, IAbsoluteFilePath destination, bool overwrite = true, bool checkMd5 = false ) : void
src this
destination IAbsoluteFilePath
overwrite bool
checkMd5 bool
Результат void

CopyAsync() публичный статический Метод

public static CopyAsync ( this src, IAbsoluteDirectoryPath destination, bool overwrite = true, bool checkMd5 = false, ITProgress status = null ) : System.Threading.Tasks.Task
src this
destination IAbsoluteDirectoryPath
overwrite bool
checkMd5 bool
status ITProgress
Результат System.Threading.Tasks.Task

CopyAsync() публичный статический Метод

public static CopyAsync ( this src, IAbsoluteFilePath destination, bool overwrite = true, bool checkMd5 = false, ITProgress status = null ) : System.Threading.Tasks.Task
src this
destination IAbsoluteFilePath
overwrite bool
checkMd5 bool
status ITProgress
Результат System.Threading.Tasks.Task

IsArchive() публичный статический Метод

public static IsArchive ( this absoluteFilePath ) : bool
absoluteFilePath this
Результат bool

Move() публичный статический Метод

public static Move ( this src, IAbsoluteDirectoryPath destination, bool overwrite = true, bool checkMd5 = false ) : void
src this
destination IAbsoluteDirectoryPath
overwrite bool
checkMd5 bool
Результат void

Move() публичный статический Метод

public static Move ( this src, IAbsoluteFilePath destination, bool overwrite = true, bool checkMd5 = false ) : void
src this
destination IAbsoluteFilePath
overwrite bool
checkMd5 bool
Результат void

ToRelativeDirectoryPaths() публичный статический Метод

public static ToRelativeDirectoryPaths ( this directories ) : IEnumerable
directories this
Результат IEnumerable

ToRelativeFilePaths() публичный статический Метод

public static ToRelativeFilePaths ( this files ) : IEnumerable
files this
Результат IEnumerable

Unpack() публичный статический Метод

public static Unpack ( this src, IAbsoluteDirectoryPath outputFolder, bool overwrite = false, bool fullPath = true, bool checkFileIntegrity = true, ITProgress progress = null ) : void
src this
outputFolder IAbsoluteDirectoryPath
overwrite bool
fullPath bool
checkFileIntegrity bool
progress ITProgress
Результат void

Описание свойств

ArchiveRx публичное статическое свойство

public static Regex,System.Text.RegularExpressions ArchiveRx
Результат System.Text.RegularExpressions.Regex