C# Class withSIX.Core.Extensions.NDependPathHelpers

Exibir arquivo Open project: SIXNetworks/withSIX.Desktop

Public Properties

Property Type Description
ArchiveRx System.Text.RegularExpressions.Regex

Public Methods

Method Description
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

Private Methods

Method Description
ToRelativeDirectory ( this directory ) : IRelativeDirectoryPath
ToRelativeFile ( this file ) : IRelativeFilePath

Method Details

Copy() public static method

public static Copy ( this src, IAbsoluteDirectoryPath destination, bool overwrite = true, bool checkMd5 = false ) : void
src this
destination IAbsoluteDirectoryPath
overwrite bool
checkMd5 bool
return void

Copy() public static method

public static Copy ( this src, IAbsoluteFilePath destination, bool overwrite = true, bool checkMd5 = false ) : void
src this
destination IAbsoluteFilePath
overwrite bool
checkMd5 bool
return void

CopyAsync() public static method

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
return System.Threading.Tasks.Task

CopyAsync() public static method

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
return System.Threading.Tasks.Task

IsArchive() public static method

public static IsArchive ( this absoluteFilePath ) : bool
absoluteFilePath this
return bool

Move() public static method

public static Move ( this src, IAbsoluteDirectoryPath destination, bool overwrite = true, bool checkMd5 = false ) : void
src this
destination IAbsoluteDirectoryPath
overwrite bool
checkMd5 bool
return void

Move() public static method

public static Move ( this src, IAbsoluteFilePath destination, bool overwrite = true, bool checkMd5 = false ) : void
src this
destination IAbsoluteFilePath
overwrite bool
checkMd5 bool
return void

ToRelativeDirectoryPaths() public static method

public static ToRelativeDirectoryPaths ( this directories ) : IEnumerable
directories this
return IEnumerable

ToRelativeFilePaths() public static method

public static ToRelativeFilePaths ( this files ) : IEnumerable
files this
return IEnumerable

Unpack() public static method

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
return void

Property Details

ArchiveRx public_oe static_oe property

public static Regex,System.Text.RegularExpressions ArchiveRx
return System.Text.RegularExpressions.Regex