C# Class Talifun.Commander.Command.FileExtensions

Afficher le fichier Open project: taliesins/talifun-commander

Méthodes publiques

Méthode Description
Cleanup ( this workingDirectoryPath ) : void
GetWorkingDirectoryPath ( this inputFilePath, string prefix, string workingPath, string uniqueProcessingNumber ) : DirectoryInfo
IsFileLocked ( this fileInfo ) : bool
MoveCompletedFileToOutputFolder ( this workingFilePath, string fileNameFormat, string outPutPath ) : void
RetryDelete ( this directory, int retry, bool recursively ) : void
TryCreateTestFile ( this directory ) : void
WaitForFileToUnlock ( this fileInfo, int retry, int delay ) : bool

Method Details

Cleanup() public static méthode

public static Cleanup ( this workingDirectoryPath ) : void
workingDirectoryPath this
Résultat void

GetWorkingDirectoryPath() public static méthode

public static GetWorkingDirectoryPath ( this inputFilePath, string prefix, string workingPath, string uniqueProcessingNumber ) : DirectoryInfo
inputFilePath this
prefix string
workingPath string
uniqueProcessingNumber string
Résultat System.IO.DirectoryInfo

IsFileLocked() public static méthode

public static IsFileLocked ( this fileInfo ) : bool
fileInfo this
Résultat bool

MoveCompletedFileToOutputFolder() public static méthode

public static MoveCompletedFileToOutputFolder ( this workingFilePath, string fileNameFormat, string outPutPath ) : void
workingFilePath this
fileNameFormat string
outPutPath string
Résultat void

RetryDelete() public static méthode

public static RetryDelete ( this directory, int retry, bool recursively ) : void
directory this
retry int
recursively bool
Résultat void

TryCreateTestFile() public static méthode

public static TryCreateTestFile ( this directory ) : void
directory this
Résultat void

WaitForFileToUnlock() public static méthode

public static WaitForFileToUnlock ( this fileInfo, int retry, int delay ) : bool
fileInfo this
retry int
delay int
Résultat bool