C# Class Cirrious.MvvmCross.Plugins.File.WindowsStore.MvxWindowsStoreBlockingFileStore

Inheritance: IMvxFileStore
Afficher le fichier Open project: Everbridge/sm-MvvmCross

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

DeleteFile() public méthode

public DeleteFile ( string path ) : void
path string
Résultat void

DeleteFolder() public méthode

public DeleteFolder ( string folderPath, bool recursive ) : void
folderPath string
recursive bool
Résultat void

EnsureFolderExists() public méthode

public EnsureFolderExists ( string folderPath ) : void
folderPath string
Résultat void

Exists() public méthode

public Exists ( string path ) : bool
path string
Résultat bool

FolderExists() public méthode

public FolderExists ( string folderPath ) : bool
folderPath string
Résultat bool

GetFilesIn() public méthode

public GetFilesIn ( string folderPath ) : IEnumerable
folderPath string
Résultat IEnumerable

GetFoldersIn() public méthode

public GetFoldersIn ( string folderPath ) : IEnumerable
folderPath string
Résultat IEnumerable

NativePath() public méthode

public NativePath ( string path ) : string
path string
Résultat string

OpenRead() public méthode

public OpenRead ( string path ) : Stream
path string
Résultat Stream

OpenWrite() public méthode

public OpenWrite ( string path ) : Stream
path string
Résultat Stream

PathCombine() public méthode

public PathCombine ( string items0, string items1 ) : string
items0 string
items1 string
Résultat string

TryMove() public méthode

public TryMove ( string from, string to, bool deleteExistingTo ) : bool
from string
to string
deleteExistingTo bool
Résultat bool

TryReadBinaryFile() public méthode

public TryReadBinaryFile ( string path, bool>.Func readMethod ) : bool
path string
readMethod bool>.Func
Résultat bool

TryReadBinaryFile() public méthode

public TryReadBinaryFile ( string path, byte &contents ) : bool
path string
contents byte
Résultat bool

TryReadTextFile() public méthode

public TryReadTextFile ( string path, string &contents ) : bool
path string
contents string
Résultat bool

WriteFile() public méthode

public WriteFile ( string path, Action writeMethod ) : void
path string
writeMethod Action
Résultat void

WriteFile() public méthode

public WriteFile ( string path, IEnumerable contents ) : void
path string
contents IEnumerable
Résultat void

WriteFile() public méthode

public WriteFile ( string path, string contents ) : void
path string
contents string
Résultat void