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

Afficher le fichier Open project: 0xdeafcafe/SnapDotNet

Méthodes publiques

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

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

public static DeleteFileAsync ( StorageFile file ) : System.Threading.Tasks.Task
file Windows.Storage.StorageFile
Résultat System.Threading.Tasks.Task

DeleteFileAsync() public static méthode

public static DeleteFileAsync ( string fileName ) : System.Threading.Tasks.Task
fileName string
Résultat System.Threading.Tasks.Task

DeleteLocalSetting() public static méthode

public static DeleteLocalSetting ( string containerName, string name ) : void
containerName string
name string
Résultat void

DeleteRoamingSetting() public static méthode

public static DeleteRoamingSetting ( string containerName, string name ) : void
containerName string
name string
Résultat void

FileExistsAsync() public static méthode

public static FileExistsAsync ( string fileName ) : Task
fileName string
Résultat Task

ReadFileAsync() public static méthode

public static ReadFileAsync ( string fileName ) : Task
fileName string
Résultat Task

ReadFileToBytesAsync() public static méthode

public static ReadFileToBytesAsync ( StorageFile file ) : Task
file Windows.Storage.StorageFile
Résultat Task

ReadFileToBytesAsync() public static méthode

public static ReadFileToBytesAsync ( string fileName ) : Task
fileName string
Résultat Task

ReadLocalSettingInt() public static méthode

public static ReadLocalSettingInt ( string containerName, string name, int defualtValue ) : int
containerName string
name string
defualtValue int
Résultat int

ReadLocalSettingString() public static méthode

public static ReadLocalSettingString ( string containerName, string name ) : string
containerName string
name string
Résultat string

ReadRoamingSetting() public static méthode

public static ReadRoamingSetting ( string containerName, string name ) : string
containerName string
name string
Résultat string

ReadRoamingSettingInt() public static méthode

public static ReadRoamingSettingInt ( string containerName, string name ) : int
containerName string
name string
Résultat int

WriteFileAsync() public static méthode

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

WriteFileAsync() public static méthode

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

WriteFileAsync() public static méthode

public static WriteFileAsync ( string fileName, string content ) : void
fileName string
content string
Résultat void

WriteLocalSetting() public static méthode

public static WriteLocalSetting ( string containerName, string name, string value ) : void
containerName string
name string
value string
Résultat void

WriteRoamingSetting() public static méthode

public static WriteRoamingSetting ( string containerName, string name, string value ) : void
containerName string
name string
value string
Résultat void