C# 클래스 Talifun.Commander.Command.FileExtensions

파일 보기 프로젝트 열기: taliesins/talifun-commander

공개 메소드들

메소드 설명
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