메소드 | 설명 | |
---|---|---|
Copy ( string source, string dest, bool overwrite ) : void | ||
CreateDirectory ( string path, bool hidden ) : void | ||
CreateFileStream ( string filePath, FileMode mode ) : Stream | ||
DeleteDirectory ( string path ) : void | ||
DirectoryExists ( string path ) : bool | ||
EnumerateDirectories ( string dir, string searchPattern, SearchOption searchOption = SearchOption.AllDirectories ) : IEnumerable |
||
EnumerateFiles ( string dir, string searchPattern, SearchOption searchOption = SearchOption.AllDirectories ) : IEnumerable |
||
EnumerateFilesAndDirectories ( string dir, string searchPattern, SearchOption searchOption = SearchOption.AllDirectories ) : IEnumerable |
||
FileDelete ( string path ) : void | ||
FileExists ( string path ) : bool | ||
GetFullPath ( string path ) : string | ||
GetLastWriteTime ( string file ) : System.DateTime | ||
GetWorkingDirectory ( string path ) : string | ||
IsPathRooted ( string path ) : bool | ||
Move ( string source, string dest ) : void | ||
ReadFile ( string path ) : string | ||
ReadFileLines ( string path ) : string[] | ||
SplitLines ( string value ) : IEnumerable |
||
WriteAllBytes ( string filePath, byte bytes ) : void | ||
WriteToFile ( string path, string text ) : void |
public Copy ( string source, string dest, bool overwrite ) : void | ||
source | string | |
dest | string | |
overwrite | bool | |
리턴 | void |
public CreateDirectory ( string path, bool hidden ) : void | ||
path | string | |
hidden | bool | |
리턴 | void |
public CreateFileStream ( string filePath, FileMode mode ) : Stream | ||
filePath | string | |
mode | FileMode | |
리턴 | Stream |
public EnumerateDirectories ( string dir, string searchPattern, SearchOption searchOption = SearchOption.AllDirectories ) : IEnumerable |
||
dir | string | |
searchPattern | string | |
searchOption | SearchOption | |
리턴 | IEnumerable |
public EnumerateFiles ( string dir, string searchPattern, SearchOption searchOption = SearchOption.AllDirectories ) : IEnumerable |
||
dir | string | |
searchPattern | string | |
searchOption | SearchOption | |
리턴 | IEnumerable |
public EnumerateFilesAndDirectories ( string dir, string searchPattern, SearchOption searchOption = SearchOption.AllDirectories ) : IEnumerable |
||
dir | string | |
searchPattern | string | |
searchOption | SearchOption | |
리턴 | IEnumerable |
public GetLastWriteTime ( string file ) : System.DateTime | ||
file | string | |
리턴 | System.DateTime |
public GetWorkingDirectory ( string path ) : string | ||
path | string | |
리턴 | string |
public WriteAllBytes ( string filePath, byte bytes ) : void | ||
filePath | string | |
bytes | byte | |
리턴 | void |
public WriteToFile ( string path, string text ) : void | ||
path | string | |
text | string | |
리턴 | void |