Class DotnetPrefs
public class DotnetPrefs : IPrefsImplementation
- Inheritance
-
DotnetPrefs
- Implements
Constructors
DotnetPrefs(string)
public DotnetPrefs(string prefsFilePath = null)
Parameters
prefsFilePath
string
Methods
DeleteAll()
public void DeleteAll()
DeleteKey(string)
public void DeleteKey(string key)
Parameters
key
string
GetFloat(string)
public float GetFloat(string key)
Parameters
key
string
Returns
GetFloat(string, float)
public float GetFloat(string key, float defaultValue)
Parameters
Returns
GetInt(string)
public int GetInt(string key)
Parameters
key
string
Returns
GetInt(string, int)
public int GetInt(string key, int defaultValue)
Parameters
Returns
GetString(string)
public string GetString(string key)
Parameters
key
string
Returns
GetString(string, string)
public string GetString(string key, string defaultValue)
Parameters
Returns
HasKey(string)
public bool HasKey(string key)
Parameters
key
string
Returns
Save()
public void Save()
SetFloat(string, float)
public void SetFloat(string key, float value)
Parameters
SetInt(string, int)
public void SetInt(string key, int value)
Parameters
SetString(string, string)
public void SetString(string key, string value)