C# Class UWP10template.Services.StorageService

Show file Open project: mapaux/UWP10template

Public Methods

Method Description
clearSettings ( ) : void
clearTextFile ( StorageFolder folder, string key = null ) : System.Threading.Tasks.Task
deleteSetting ( string setting ) : void
getDocumentsKnownFolders ( ) : StorageFolder
getLocalFolder ( ) : StorageFolder
getMusicKnownFolders ( ) : StorageFolder
getPicturesKnownFolders ( ) : StorageFolder
getRoamingSettings ( ) : ApplicationDataContainer
getSdFolder ( ) : Task
getTempFolder ( ) : StorageFolder
getVideosKnownFolders ( ) : StorageFolder
loadTextFile ( StorageFolder folder, string key = null ) : Task
saveAppendTextFile ( StorageFolder folder, string data, string key = null ) : System.Threading.Tasks.Task
saveSetting ( string setting, string value ) : void
saveTextFile ( StorageFolder folder, string data, string key = null ) : System.Threading.Tasks.Task

Method Details

clearSettings() public method

public clearSettings ( ) : void
return void

clearTextFile() public method

public clearTextFile ( StorageFolder folder, string key = null ) : System.Threading.Tasks.Task
folder Windows.Storage.StorageFolder
key string
return System.Threading.Tasks.Task

deleteSetting() public method

public deleteSetting ( string setting ) : void
setting string
return void

getDocumentsKnownFolders() public method

public getDocumentsKnownFolders ( ) : StorageFolder
return Windows.Storage.StorageFolder

getLocalFolder() public method

public getLocalFolder ( ) : StorageFolder
return Windows.Storage.StorageFolder

getMusicKnownFolders() public method

public getMusicKnownFolders ( ) : StorageFolder
return Windows.Storage.StorageFolder

getPicturesKnownFolders() public method

public getPicturesKnownFolders ( ) : StorageFolder
return Windows.Storage.StorageFolder

getRoamingSettings() public method

public getRoamingSettings ( ) : ApplicationDataContainer
return Windows.Storage.ApplicationDataContainer

getSdFolder() public method

public getSdFolder ( ) : Task
return Task

getTempFolder() public method

public getTempFolder ( ) : StorageFolder
return Windows.Storage.StorageFolder

getVideosKnownFolders() public method

public getVideosKnownFolders ( ) : StorageFolder
return Windows.Storage.StorageFolder

loadTextFile() public method

public loadTextFile ( StorageFolder folder, string key = null ) : Task
folder Windows.Storage.StorageFolder
key string
return Task

saveAppendTextFile() public method

public saveAppendTextFile ( StorageFolder folder, string data, string key = null ) : System.Threading.Tasks.Task
folder Windows.Storage.StorageFolder
data string
key string
return System.Threading.Tasks.Task

saveSetting() public method

public saveSetting ( string setting, string value ) : void
setting string
value string
return void

saveTextFile() public method

public saveTextFile ( StorageFolder folder, string data, string key = null ) : System.Threading.Tasks.Task
folder Windows.Storage.StorageFolder
data string
key string
return System.Threading.Tasks.Task