Метод | Описание | |
---|---|---|
CombinePath ( string dir, string file ) : string | ||
CreateDirectory ( string path ) : void | ||
CreateFileStream ( string outputFileName, FileMode mode, FileAccess access ) : Stream | ||
CreateStreamReader ( string path ) : TextReader | ||
CreateStreamWriter ( Stream stm, |
||
DeleteDirectory ( string path ) : void | ||
DeleteFile ( string path ) : void | ||
Dir ( string name ) : |
||
DirectoryExists ( string path ) : bool | ||
End ( ) : |
||
FakeFileSystem ( ) : System | ||
File ( string name ) : |
||
FileExists ( string path ) : bool | ||
GetDirectoryName ( string path ) : string | ||
GetFileName ( string path ) : string | ||
GetFileSystemEntries ( string path ) : string[] | ||
GetFullPath ( string file ) : string | ||
ReadFile ( string path ) : string | ||
ReadFileBytes ( string path ) : byte[] | ||
WriteFile ( string path, string contents ) : void | ||
getFileHash ( string path ) : string | ||
getSystemTempDir ( ) : string | ||
makePathString ( ) : string | ||
relPath ( string path1, string path2 ) : string |
Метод | Описание | |
---|---|---|
Traverse ( IEnumerable |
public CombinePath ( string dir, string file ) : string | ||
dir | string | |
file | string | |
Результат | string |
public CreateDirectory ( string path ) : void | ||
path | string | |
Результат | void |
public CreateFileStream ( string outputFileName, FileMode mode, FileAccess access ) : Stream | ||
outputFileName | string | |
mode | FileMode | |
access | FileAccess | |
Результат | Stream |
public CreateStreamReader ( string path ) : TextReader | ||
path | string | |
Результат | TextReader |
public CreateStreamWriter ( Stream stm, |
||
stm | Stream | |
encoding | ||
Результат |
public DeleteDirectory ( string path ) : void | ||
path | string | |
Результат | void |
public Dir ( string name ) : |
||
name | string | |
Результат |
public DirectoryExists ( string path ) : bool | ||
path | string | |
Результат | bool |
public File ( string name ) : |
||
name | string | |
Результат |
public GetDirectoryName ( string path ) : string | ||
path | string | |
Результат | string |
public GetFileName ( string path ) : string | ||
path | string | |
Результат | string |
public GetFileSystemEntries ( string path ) : string[] | ||
path | string | |
Результат | string[] |
public GetFullPath ( string file ) : string | ||
file | string | |
Результат | string |
public ReadFileBytes ( string path ) : byte[] | ||
path | string | |
Результат | byte[] |
public WriteFile ( string path, string contents ) : void | ||
path | string | |
contents | string | |
Результат | void |
public getFileHash ( string path ) : string | ||
path | string | |
Результат | string |
public relPath ( string path1, string path2 ) : string | ||
path1 | string | |
path2 | string | |
Результат | string |