C# Class SnapDotNet.Core.Miscellaneous.Helpers.Storage.IsolatedStorage

Exibir arquivo Open project: 0xdeafcafe/SnapDotNet

Public Methods

Method Description
DeleteFileAsync ( StorageFile file ) : System.Threading.Tasks.Task
DeleteFileAsync ( string fileName ) : System.Threading.Tasks.Task
DeleteLocalSetting ( string containerName, string name ) : void
DeleteRoamingSetting ( string containerName, string name ) : void
FileExistsAsync ( string fileName ) : Task
ReadFileAsync ( string fileName ) : Task
ReadFileToBytesAsync ( StorageFile file ) : Task
ReadFileToBytesAsync ( string fileName ) : Task
ReadLocalSettingInt ( string containerName, string name, int defualtValue ) : int
ReadLocalSettingString ( string containerName, string name ) : string
ReadRoamingSetting ( string containerName, string name ) : string
ReadRoamingSettingInt ( string containerName, string name ) : int
WriteFileAsync ( StorageFile file, byte content ) : System.Threading.Tasks.Task
WriteFileAsync ( string fileName, byte content ) : System.Threading.Tasks.Task
WriteFileAsync ( string fileName, string content ) : void
WriteLocalSetting ( string containerName, string name, string value ) : void
WriteRoamingSetting ( string containerName, string name, string value ) : void

Private Methods

Method Description
DeleteSetting ( ApplicationDataContainer container, string containerName, string name ) : void
ReadSetting ( ApplicationDataContainer container, string containerName, string name ) : string
WriteSetting ( ApplicationDataContainer container, string containerName, string name, string value ) : void

Method Details

DeleteFileAsync() public static method

public static DeleteFileAsync ( StorageFile file ) : System.Threading.Tasks.Task
file Windows.Storage.StorageFile
return System.Threading.Tasks.Task

DeleteFileAsync() public static method

public static DeleteFileAsync ( string fileName ) : System.Threading.Tasks.Task
fileName string
return System.Threading.Tasks.Task

DeleteLocalSetting() public static method

public static DeleteLocalSetting ( string containerName, string name ) : void
containerName string
name string
return void

DeleteRoamingSetting() public static method

public static DeleteRoamingSetting ( string containerName, string name ) : void
containerName string
name string
return void

FileExistsAsync() public static method

public static FileExistsAsync ( string fileName ) : Task
fileName string
return Task

ReadFileAsync() public static method

public static ReadFileAsync ( string fileName ) : Task
fileName string
return Task

ReadFileToBytesAsync() public static method

public static ReadFileToBytesAsync ( StorageFile file ) : Task
file Windows.Storage.StorageFile
return Task

ReadFileToBytesAsync() public static method

public static ReadFileToBytesAsync ( string fileName ) : Task
fileName string
return Task

ReadLocalSettingInt() public static method

public static ReadLocalSettingInt ( string containerName, string name, int defualtValue ) : int
containerName string
name string
defualtValue int
return int

ReadLocalSettingString() public static method

public static ReadLocalSettingString ( string containerName, string name ) : string
containerName string
name string
return string

ReadRoamingSetting() public static method

public static ReadRoamingSetting ( string containerName, string name ) : string
containerName string
name string
return string

ReadRoamingSettingInt() public static method

public static ReadRoamingSettingInt ( string containerName, string name ) : int
containerName string
name string
return int

WriteFileAsync() public static method

public static WriteFileAsync ( StorageFile file, byte content ) : System.Threading.Tasks.Task
file Windows.Storage.StorageFile
content byte
return System.Threading.Tasks.Task

WriteFileAsync() public static method

public static WriteFileAsync ( string fileName, byte content ) : System.Threading.Tasks.Task
fileName string
content byte
return System.Threading.Tasks.Task

WriteFileAsync() public static method

public static WriteFileAsync ( string fileName, string content ) : void
fileName string
content string
return void

WriteLocalSetting() public static method

public static WriteLocalSetting ( string containerName, string name, string value ) : void
containerName string
name string
value string
return void

WriteRoamingSetting() public static method

public static WriteRoamingSetting ( string containerName, string name, string value ) : void
containerName string
name string
value string
return void