C# 클래스 Medusa.Common.SystemTool

파일 보기 프로젝트 열기: fjz13/Medusa

공개 메소드들

메소드 설명
ClearDirectory ( DirectoryInfo path, bool isRecursively = true ) : void
ClearEmptyDirectory ( DirectoryInfo path ) : void
CopyDirectory ( DirectoryInfo sourcePath, DirectoryInfo destPath, bool isClearDestPath = false, List excludeFiles = null ) : void
CopyDirectoryTree ( DirectoryInfo sourcePath, DirectoryInfo destPath, List excludeDirs = null ) : void
FastCopy ( string fromPath, string outputFilePath ) : void
GetDirectoryFiles ( DirectoryInfo path, bool isRecursively = true ) : List
GetRelativePath ( string path ) : string

메소드 상세

ClearDirectory() 공개 정적인 메소드

public static ClearDirectory ( DirectoryInfo path, bool isRecursively = true ) : void
path System.IO.DirectoryInfo
isRecursively bool
리턴 void

ClearEmptyDirectory() 공개 정적인 메소드

public static ClearEmptyDirectory ( DirectoryInfo path ) : void
path System.IO.DirectoryInfo
리턴 void

CopyDirectory() 공개 정적인 메소드

public static CopyDirectory ( DirectoryInfo sourcePath, DirectoryInfo destPath, bool isClearDestPath = false, List excludeFiles = null ) : void
sourcePath System.IO.DirectoryInfo
destPath System.IO.DirectoryInfo
isClearDestPath bool
excludeFiles List
리턴 void

CopyDirectoryTree() 공개 정적인 메소드

public static CopyDirectoryTree ( DirectoryInfo sourcePath, DirectoryInfo destPath, List excludeDirs = null ) : void
sourcePath System.IO.DirectoryInfo
destPath System.IO.DirectoryInfo
excludeDirs List
리턴 void

FastCopy() 공개 정적인 메소드

public static FastCopy ( string fromPath, string outputFilePath ) : void
fromPath string
outputFilePath string
리턴 void

GetDirectoryFiles() 공개 정적인 메소드

public static GetDirectoryFiles ( DirectoryInfo path, bool isRecursively = true ) : List
path System.IO.DirectoryInfo
isRecursively bool
리턴 List

GetRelativePath() 공개 정적인 메소드

public static GetRelativePath ( string path ) : string
path string
리턴 string