Метод | Описание | |
---|---|---|
DeleteFile ( string filePath ) : void | ||
DeleteFolder ( string folderPath, bool recursive ) : void | ||
EnsureFolderExists ( string folderPath ) : void | ||
Exists ( string path ) : bool | ||
FolderExists ( string folderPath ) : bool | ||
GetFilesIn ( string folderPath ) : IEnumerable |
||
GetFoldersIn ( string folderPath ) : IEnumerable |
||
NativePath ( string path ) : string | ||
OpenRead ( string path ) : Stream | ||
OpenWrite ( string path ) : Stream | ||
PathCombine ( string items0, string items1 ) : string | ||
TryMove ( string from, string to, bool deleteExistingTo ) : bool | ||
TryReadBinaryFile ( string path, Byte &contents ) : bool | ||
TryReadBinaryFile ( string path, bool>.Func |
||
TryReadBinaryFileAsync ( string path ) : Task |
||
TryReadBinaryFileAsync ( string path, Func |
||
TryReadTextFile ( string path, string &contents ) : bool | ||
TryReadTextFileAsync ( string path ) : Task |
||
WriteFile ( string path, Action |
||
WriteFile ( string path, IEnumerable |
||
WriteFile ( string path, string contents ) : void | ||
WriteFileAsync ( string path, Task>.Func |
||
WriteFileAsync ( string path, IEnumerable |
||
WriteFileAsync ( string path, byte contents ) : System.Threading.Tasks.Task | ||
WriteFileAsync ( string path, string contents ) : System.Threading.Tasks.Task |
Метод | Описание | |
---|---|---|
FullPath ( string path ) : string |
Метод | Описание | |
---|---|---|
TryReadFileCommon ( string path, bool>.Func |
||
TryReadFileCommonAsync ( string path, Func |
||
WriteFileCommon ( string path, Action |
||
WriteFileCommonAsync ( string path, Task>.Func |
public DeleteFile ( string filePath ) : void | ||
filePath | string | |
Результат | void |
public DeleteFolder ( string folderPath, bool recursive ) : void | ||
folderPath | string | |
recursive | bool | |
Результат | void |
public EnsureFolderExists ( string folderPath ) : void | ||
folderPath | string | |
Результат | void |
public FolderExists ( string folderPath ) : bool | ||
folderPath | string | |
Результат | bool |
protected abstract FullPath ( string path ) : string | ||
path | string | |
Результат | string |
public GetFilesIn ( string folderPath ) : IEnumerable |
||
folderPath | string | |
Результат | IEnumerable |
public GetFoldersIn ( string folderPath ) : IEnumerable |
||
folderPath | string | |
Результат | IEnumerable |
public NativePath ( string path ) : string | ||
path | string | |
Результат | string |
public PathCombine ( string items0, string items1 ) : string | ||
items0 | string | |
items1 | string | |
Результат | string |
public TryMove ( string from, string to, bool deleteExistingTo ) : bool | ||
from | string | |
to | string | |
deleteExistingTo | bool | |
Результат | bool |
public TryReadBinaryFile ( string path, Byte &contents ) : bool | ||
path | string | |
contents | Byte | |
Результат | bool |
public TryReadBinaryFile ( string path, bool>.Func |
||
path | string | |
readMethod | bool>.Func | |
Результат | bool |
public TryReadBinaryFileAsync ( string path ) : Task |
||
path | string | |
Результат | Task |
public TryReadBinaryFileAsync ( string path, Func |
||
path | string | |
readMethod | Func |
|
Результат | Task |
public TryReadTextFile ( string path, string &contents ) : bool | ||
path | string | |
contents | string | |
Результат | bool |
public TryReadTextFileAsync ( string path ) : Task |
||
path | string | |
Результат | Task |
public WriteFile ( string path, Action |
||
path | string | |
writeMethod | Action |
|
Результат | void |
public WriteFile ( string path, IEnumerable |
||
path | string | |
contents | IEnumerable |
|
Результат | void |
public WriteFile ( string path, string contents ) : void | ||
path | string | |
contents | string | |
Результат | void |
public WriteFileAsync ( string path, Task>.Func |
||
path | string | |
writeMethod | Task>.Func | |
Результат | System.Threading.Tasks.Task |
public WriteFileAsync ( string path, IEnumerable |
||
path | string | |
contents | IEnumerable |
|
Результат | System.Threading.Tasks.Task |
public WriteFileAsync ( string path, byte contents ) : System.Threading.Tasks.Task | ||
path | string | |
contents | byte | |
Результат | System.Threading.Tasks.Task |
public WriteFileAsync ( string path, string contents ) : System.Threading.Tasks.Task | ||
path | string | |
contents | string | |
Результат | System.Threading.Tasks.Task |