C# Class InTheHand.Storage.StorageFolderExtensions

Provides additional methods for StorageFolder.
Afficher le fichier Open project: inthehand/Charming

Méthodes publiques

Méthode Description
DeleteAllItems ( this folder ) : System.Threading.Tasks.Task

Deletes all contents of a folder without deleting the folder itself.

GetFolderSizeAsync ( this folder ) : Task

Returns the size, in bytes, of the folder and all of its contents.

Private Methods

Méthode Description
GetIsoStorePath ( this folder ) : string

Gets a relative path from a StorageFolder so that IsolatedStorage APIs can be used on it.

Method Details

DeleteAllItems() public static méthode

Deletes all contents of a folder without deleting the folder itself.
public static DeleteAllItems ( this folder ) : System.Threading.Tasks.Task
folder this
Résultat System.Threading.Tasks.Task

GetFolderSizeAsync() public static méthode

Returns the size, in bytes, of the folder and all of its contents.
public static GetFolderSizeAsync ( this folder ) : Task
folder this The folder to measure
Résultat Task