Метод | Описание | |
---|---|---|
CombinePath ( string dir, string file ) : string | ||
CreateDirectory ( string directory ) : void | ||
CreateFileStream ( string filename, FileMode mode, FileAccess access ) : Stream | ||
CreateStreamReader ( string filename ) : TextReader | ||
CreateStreamWriter ( Stream stm, |
||
DeleteDirectory ( string directory ) : void | ||
DeleteFile ( string path ) : void | ||
DirectoryExists ( string dirPath ) : bool | ||
FileExists ( string filePath ) : bool | ||
GetDirectoryName ( string filePath ) : string | ||
GetFileName ( string filePath ) : string | ||
GetFileSystemEntries ( string dirPath ) : string[] | ||
GetFullPath ( string file ) : string | ||
ReadFile ( string path ) : string | ||
ReadFileBytes ( string path ) : byte[] | ||
WriteFile ( string path, string contents ) : void | ||
getContentHash ( byte fileContents ) : string | ||
getFileHash ( string path ) : string | ||
getSystemTempDir ( ) : string | ||
makePathString ( ) : string | ||
relPath ( string path1, string path2 ) : string |
public CombinePath ( string dir, string file ) : string | ||
dir | string | |
file | string | |
Результат | string |
public CreateDirectory ( string directory ) : void | ||
directory | string | |
Результат | void |
public CreateFileStream ( string filename, FileMode mode, FileAccess access ) : Stream | ||
filename | string | |
mode | FileMode | |
access | FileAccess | |
Результат | Stream |
public CreateStreamReader ( string filename ) : TextReader | ||
filename | string | |
Результат | TextReader |
public CreateStreamWriter ( Stream stm, |
||
stm | Stream | |
encoding | ||
Результат |
public DeleteDirectory ( string directory ) : void | ||
directory | string | |
Результат | void |
public DirectoryExists ( string dirPath ) : bool | ||
dirPath | string | |
Результат | bool |
public FileExists ( string filePath ) : bool | ||
filePath | string | |
Результат | bool |
public GetDirectoryName ( string filePath ) : string | ||
filePath | string | |
Результат | string |
public GetFileName ( string filePath ) : string | ||
filePath | string | |
Результат | string |
public GetFileSystemEntries ( string dirPath ) : string[] | ||
dirPath | 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 static getContentHash ( byte fileContents ) : string | ||
fileContents | byte | |
Результат | string |
public getFileHash ( string path ) : string | ||
path | string | |
Результат | string |
public relPath ( string path1, string path2 ) : string | ||
path1 | string | |
path2 | string | |
Результат | string |