C# Class VLC.Helpers.ApplicationSettingsHelper

Datei anzeigen Open project: syaifulnizamyahya/vlc-winrt

Public Methods

Method 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 method

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

ReadResetSettingsValue() public static method

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
return object

ReadSettingsValue() public static method

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

SaveSettingsValue() public static method

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
return void