C# Класс Cirrious.MvvmCross.Plugins.File.WindowsCommon.MvxWindowsCommonBlockingFileStore

Наследование: IMvxFileStore
Показать файл Открыть проект

Открытые методы

Метод Описание
DeleteFile ( string path ) : 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, bool>.Func readMethod ) : bool
TryReadBinaryFile ( string path, byte &contents ) : bool
TryReadTextFile ( string path, string &contents ) : bool
WriteFile ( string path, Action writeMethod ) : void
WriteFile ( string path, IEnumerable contents ) : void
WriteFile ( string path, string contents ) : void

Приватные методы

Метод Описание
CreateStorageFileFromRelativePath ( string path ) : StorageFile
SafeDeleteFile ( string path ) : bool
StorageFileFromRelativePath ( string path ) : StorageFile
ToFullPath ( string path ) : string
TryReadFileCommon ( string path, bool>.Func streamAction ) : bool
WriteFileCommon ( string path, Action streamAction ) : void

Описание методов

DeleteFile() публичный Метод

public DeleteFile ( string path ) : void
path string
Результат void

DeleteFolder() публичный Метод

public DeleteFolder ( string folderPath, bool recursive ) : void
folderPath string
recursive bool
Результат void

EnsureFolderExists() публичный Метод

public EnsureFolderExists ( string folderPath ) : void
folderPath string
Результат void

Exists() публичный Метод

public Exists ( string path ) : bool
path string
Результат bool

FolderExists() публичный Метод

public FolderExists ( string folderPath ) : bool
folderPath string
Результат bool

GetFilesIn() публичный Метод

public GetFilesIn ( string folderPath ) : IEnumerable
folderPath string
Результат IEnumerable

GetFoldersIn() публичный Метод

public GetFoldersIn ( string folderPath ) : IEnumerable
folderPath string
Результат IEnumerable

NativePath() публичный Метод

public NativePath ( string path ) : string
path string
Результат string

OpenRead() публичный Метод

public OpenRead ( string path ) : Stream
path string
Результат Stream

OpenWrite() публичный Метод

public OpenWrite ( string path ) : Stream
path string
Результат Stream

PathCombine() публичный Метод

public PathCombine ( string items0, string items1 ) : string
items0 string
items1 string
Результат string

TryMove() публичный Метод

public TryMove ( string from, string to, bool deleteExistingTo ) : bool
from string
to string
deleteExistingTo bool
Результат bool

TryReadBinaryFile() публичный Метод

public TryReadBinaryFile ( string path, bool>.Func readMethod ) : bool
path string
readMethod bool>.Func
Результат bool

TryReadBinaryFile() публичный Метод

public TryReadBinaryFile ( string path, byte &contents ) : bool
path string
contents byte
Результат bool

TryReadTextFile() публичный Метод

public TryReadTextFile ( string path, string &contents ) : bool
path string
contents string
Результат bool

WriteFile() публичный Метод

public WriteFile ( string path, Action writeMethod ) : void
path string
writeMethod Action
Результат void

WriteFile() публичный Метод

public WriteFile ( string path, IEnumerable contents ) : void
path string
contents IEnumerable
Результат void

WriteFile() публичный Метод

public WriteFile ( string path, string contents ) : void
path string
contents string
Результат void