Метод | Описание | |
---|---|---|
Copy ( string source, string dest, bool overwrite ) : void | ||
CopyDirectory ( 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 | ||
MoveDirectory ( 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 CopyDirectory ( 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 DeleteDirectory ( string path ) : void | ||
path | string | |
Результат | void |
public DirectoryExists ( string path ) : bool | ||
path | string | |
Результат | bool |
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 GetFullPath ( string path ) : string | ||
path | string | |
Результат | string |
public GetLastWriteTime ( string file ) : System.DateTime | ||
file | string | |
Результат | System.DateTime |
public GetWorkingDirectory ( string path ) : string | ||
path | string | |
Результат | string |
public IsPathRooted ( string path ) : bool | ||
path | string | |
Результат | bool |
public Move ( string source, string dest ) : void | ||
source | string | |
dest | string | |
Результат | void |
public MoveDirectory ( string source, string dest ) : void | ||
source | string | |
dest | string | |
Результат | void |
public ReadFileLines ( string path ) : string[] | ||
path | string | |
Результат | string[] |
public SplitLines ( string value ) : IEnumerable |
||
value | string | |
Результат | IEnumerable |
public WriteAllBytes ( string filePath, byte bytes ) : void | ||
filePath | string | |
bytes | byte | |
Результат | void |
public WriteToFile ( string path, string text ) : void | ||
path | string | |
text | string | |
Результат | void |