C# 클래스 Amido.SystemEx.IO.FileSystem

상속: IFileSystem
파일 보기 프로젝트 열기: amido/Amido.PreProcessor 1 사용 예제들

공개 메소드들

메소드 설명
AppendAllText ( string path, string contents ) : void
CombineAttributes ( string path, FileAttributes attributes ) : void
CombinePath ( ) : string
CopyFile ( string sourcePath, string targetPath ) : void
CopyFile ( string sourcePath, string targetPath, bool overwrite ) : void
CreateDirectory ( string path ) : void
DeleteDirectory ( string path, bool force ) : void
DeleteFile ( string path ) : void
DirectoryExists ( string path ) : bool
EnsurePath ( string path ) : void
FileExists ( string path ) : bool
GetAttributes ( string path ) : FileAttributes
GetDirectories ( string path ) : string[]
GetDirectoryFullPath ( string path ) : string
GetDirectoryName ( string path ) : string
GetFileHash ( byte contents ) : byte[]
GetFileHash ( string path ) : byte[]
GetFileHashAsString ( string path ) : string
GetFileName ( string path ) : string
GetFileSize ( string path ) : long
GetFiles ( string path ) : string[]
GetFiles ( string path, string searchPattern ) : string[]
GetFullPath ( string path ) : string
GetLastWriteTime ( string path ) : DateTime
GetName ( string path ) : string
OpenFile ( string path, FileMode mode, FileAccess access, FileShare share ) : Stream
ReadAllBytes ( string path ) : byte[]
ReadAllLines ( string path ) : string[]
ReadAllText ( string path ) : string
RemoveAttributes ( string path, FileAttributes attributes ) : void
SetAttributes ( string path, FileAttributes attributes ) : void
WriteAllBytes ( string path, byte contents ) : void
WriteAllLines ( string path, string contents ) : void
WriteAllText ( string path, string contents ) : void

비공개 메소드들

메소드 설명
RecursiveMakeNormal ( string path ) : void

메소드 상세

AppendAllText() 공개 메소드

public AppendAllText ( string path, string contents ) : void
path string
contents string
리턴 void

CombineAttributes() 공개 메소드

public CombineAttributes ( string path, FileAttributes attributes ) : void
path string
attributes FileAttributes
리턴 void

CombinePath() 공개 메소드

public CombinePath ( ) : string
리턴 string

CopyFile() 공개 메소드

public CopyFile ( string sourcePath, string targetPath ) : void
sourcePath string
targetPath string
리턴 void

CopyFile() 공개 메소드

public CopyFile ( string sourcePath, string targetPath, bool overwrite ) : void
sourcePath string
targetPath string
overwrite bool
리턴 void

CreateDirectory() 공개 메소드

public CreateDirectory ( string path ) : void
path string
리턴 void

DeleteDirectory() 공개 메소드

public DeleteDirectory ( string path, bool force ) : void
path string
force bool
리턴 void

DeleteFile() 공개 메소드

public DeleteFile ( string path ) : void
path string
리턴 void

DirectoryExists() 공개 메소드

public DirectoryExists ( string path ) : bool
path string
리턴 bool

EnsurePath() 공개 메소드

public EnsurePath ( string path ) : void
path string
리턴 void

FileExists() 공개 메소드

public FileExists ( string path ) : bool
path string
리턴 bool

GetAttributes() 공개 메소드

public GetAttributes ( string path ) : FileAttributes
path string
리턴 FileAttributes

GetDirectories() 공개 메소드

public GetDirectories ( string path ) : string[]
path string
리턴 string[]

GetDirectoryFullPath() 공개 메소드

public GetDirectoryFullPath ( string path ) : string
path string
리턴 string

GetDirectoryName() 공개 메소드

public GetDirectoryName ( string path ) : string
path string
리턴 string

GetFileHash() 공개 메소드

public GetFileHash ( byte contents ) : byte[]
contents byte
리턴 byte[]

GetFileHash() 공개 메소드

public GetFileHash ( string path ) : byte[]
path string
리턴 byte[]

GetFileHashAsString() 공개 메소드

public GetFileHashAsString ( string path ) : string
path string
리턴 string

GetFileName() 공개 메소드

public GetFileName ( string path ) : string
path string
리턴 string

GetFileSize() 공개 메소드

public GetFileSize ( string path ) : long
path string
리턴 long

GetFiles() 공개 메소드

public GetFiles ( string path ) : string[]
path string
리턴 string[]

GetFiles() 공개 메소드

public GetFiles ( string path, string searchPattern ) : string[]
path string
searchPattern string
리턴 string[]

GetFullPath() 공개 메소드

public GetFullPath ( string path ) : string
path string
리턴 string

GetLastWriteTime() 공개 메소드

public GetLastWriteTime ( string path ) : DateTime
path string
리턴 DateTime

GetName() 공개 메소드

public GetName ( string path ) : string
path string
리턴 string

OpenFile() 공개 메소드

public OpenFile ( string path, FileMode mode, FileAccess access, FileShare share ) : Stream
path string
mode FileMode
access FileAccess
share FileShare
리턴 Stream

ReadAllBytes() 공개 메소드

public ReadAllBytes ( string path ) : byte[]
path string
리턴 byte[]

ReadAllLines() 공개 메소드

public ReadAllLines ( string path ) : string[]
path string
리턴 string[]

ReadAllText() 공개 메소드

public ReadAllText ( string path ) : string
path string
리턴 string

RemoveAttributes() 공개 메소드

public RemoveAttributes ( string path, FileAttributes attributes ) : void
path string
attributes FileAttributes
리턴 void

SetAttributes() 공개 메소드

public SetAttributes ( string path, FileAttributes attributes ) : void
path string
attributes FileAttributes
리턴 void

WriteAllBytes() 공개 메소드

public WriteAllBytes ( string path, byte contents ) : void
path string
contents byte
리턴 void

WriteAllLines() 공개 메소드

public WriteAllLines ( string path, string contents ) : void
path string
contents string
리턴 void

WriteAllText() 공개 메소드

public WriteAllText ( string path, string contents ) : void
path string
contents string
리턴 void