C# Class Talifun.Commander.Command.FileExtensions

Mostrar archivo Open project: taliesins/talifun-commander

Public Methods

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

public static Cleanup ( this workingDirectoryPath ) : void
workingDirectoryPath this
return void

GetWorkingDirectoryPath() public static method

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

IsFileLocked() public static method

public static IsFileLocked ( this fileInfo ) : bool
fileInfo this
return bool

MoveCompletedFileToOutputFolder() public static method

public static MoveCompletedFileToOutputFolder ( this workingFilePath, string fileNameFormat, string outPutPath ) : void
workingFilePath this
fileNameFormat string
outPutPath string
return void

RetryDelete() public static method

public static RetryDelete ( this directory, int retry, bool recursively ) : void
directory this
retry int
recursively bool
return void

TryCreateTestFile() public static method

public static TryCreateTestFile ( this directory ) : void
directory this
return void

WaitForFileToUnlock() public static method

public static WaitForFileToUnlock ( this fileInfo, int retry, int delay ) : bool
fileInfo this
retry int
delay int
return bool