C# Class VLC.Helpers.ApplicationSettingsHelper

Afficher le fichier Open project: syaifulnizamyahya/vlc-winrt

Méthodes publiques

Méthode Description
Contains ( string key, bool localSettings = true ) : bool

Function that checks if the entry exists in Application settings

ReadResetSettingsValue ( string key, bool localSettings = true ) : object

Function to read a setting value and clear it after reading it

ReadSettingsValue ( string key, bool localSettings = true ) : object

Function to read a setting value

SaveSettingsValue ( string key, object value, bool localSettings = true ) : void

Save a key value pair in settings. Create if it doesn't exist

Method Details

Contains() public static méthode

Function that checks if the entry exists in Application settings
public static Contains ( string key, bool localSettings = true ) : bool
key string
localSettings bool
Résultat bool

ReadResetSettingsValue() public static méthode

Function to read a setting value and clear it after reading it
public static ReadResetSettingsValue ( string key, bool localSettings = true ) : object
key string
localSettings bool
Résultat object

ReadSettingsValue() public static méthode

Function to read a setting value
public static ReadSettingsValue ( string key, bool localSettings = true ) : object
key string
localSettings bool
Résultat object

SaveSettingsValue() public static méthode

Save a key value pair in settings. Create if it doesn't exist
public static SaveSettingsValue ( string key, object value, bool localSettings = true ) : void
key string
value object
localSettings bool
Résultat void