C# Класс Talifun.Commander.Command.FileExtensions

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

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

Метод Описание
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

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

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

public static Cleanup ( this workingDirectoryPath ) : void
workingDirectoryPath this
Результат void

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

public static GetWorkingDirectoryPath ( this inputFilePath, string prefix, string workingPath, string uniqueProcessingNumber ) : DirectoryInfo
inputFilePath this
prefix string
workingPath string
uniqueProcessingNumber string
Результат System.IO.DirectoryInfo

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

public static IsFileLocked ( this fileInfo ) : bool
fileInfo this
Результат bool

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

public static MoveCompletedFileToOutputFolder ( this workingFilePath, string fileNameFormat, string outPutPath ) : void
workingFilePath this
fileNameFormat string
outPutPath string
Результат void

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

public static RetryDelete ( this directory, int retry, bool recursively ) : void
directory this
retry int
recursively bool
Результат void

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

public static TryCreateTestFile ( this directory ) : void
directory this
Результат void

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

public static WaitForFileToUnlock ( this fileInfo, int retry, int delay ) : bool
fileInfo this
retry int
delay int
Результат bool