Method | Description | |
---|---|---|
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 | |
return | void |
public CreateDirectory ( string path, bool hidden ) : void | ||
path | string | |
hidden | bool | |
return | void |
public CreateFileStream ( string filePath, FileMode mode ) : Stream | ||
filePath | string | |
mode | FileMode | |
return | Stream |
public DeleteDirectory ( string path ) : void | ||
path | string | |
return | void |
public DirectoryExists ( string path ) : bool | ||
path | string | |
return | bool |
public EnumerateDirectories ( string dir, string searchPattern, SearchOption searchOption = SearchOption.AllDirectories ) : IEnumerable |
||
dir | string | |
searchPattern | string | |
searchOption | SearchOption | |
return | IEnumerable |
public EnumerateFiles ( string dir, string searchPattern, SearchOption searchOption = SearchOption.AllDirectories ) : IEnumerable |
||
dir | string | |
searchPattern | string | |
searchOption | SearchOption | |
return | IEnumerable |
public EnumerateFilesAndDirectories ( string dir, string searchPattern, SearchOption searchOption = SearchOption.AllDirectories ) : IEnumerable |
||
dir | string | |
searchPattern | string | |
searchOption | SearchOption | |
return | IEnumerable |
public GetLastWriteTime ( string file ) : System.DateTime | ||
file | string | |
return | System.DateTime |
public GetWorkingDirectory ( string path ) : string | ||
path | string | |
return | string |
public Move ( string source, string dest ) : void | ||
source | string | |
dest | string | |
return | void |
public ReadFileLines ( string path ) : string[] | ||
path | string | |
return | string[] |
public SplitLines ( string value ) : IEnumerable |
||
value | string | |
return | IEnumerable |
public WriteAllBytes ( string filePath, byte bytes ) : void | ||
filePath | string | |
bytes | byte | |
return | void |
public WriteToFile ( string path, string text ) : void | ||
path | string | |
text | string | |
return | void |