Class Prefs
- Namespace
- Coherence.Prefs
- Assembly
- Coherence.Prefs.dll
public static class Prefs
- Inheritance
-
Prefs
Properties
Implementation
public static IPrefsImplementation Implementation { get; set; }
Property Value
- IPrefsImplementation
Methods
DeleteAll()
public static void DeleteAll()
DeleteKey(string)
public static void DeleteKey(string key)
Parameters
key
string
GetFloat(string)
public static float GetFloat(string key)
Parameters
key
string
Returns
- float
GetFloat(string, float)
public static float GetFloat(string key, float defaultValue)
Parameters
key
string
defaultValue
float
Returns
- float
GetInt(string)
public static int GetInt(string key)
Parameters
key
string
Returns
- int
GetInt(string, int)
public static int GetInt(string key, int defaultValue)
Parameters
key
string
defaultValue
int
Returns
- int
GetString(string)
public static string GetString(string key)
Parameters
key
string
Returns
- string
GetString(string, string)
public static string GetString(string key, string defaultValue)
Parameters
key
string
defaultValue
string
Returns
- string
HasKey(string)
public static bool HasKey(string key)
Parameters
key
string
Returns
- bool
Save()
public static void Save()
SetFloat(string, float)
public static void SetFloat(string key, float value)
Parameters
key
string
value
float
SetInt(string, int)
public static void SetInt(string key, int value)
Parameters
key
string
value
int
SetString(string, string)
public static void SetString(string key, string value)
Parameters
key
string
value
string