Class DefaultSaveServiceProvider
Inheritance
System.Object
DefaultSaveServiceProvider
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: cs.temp.dll.dll
Syntax
public class DefaultSaveServiceProvider : ISaveServiceProvider
Methods
GetFloat(String, Single)
Declaration
public float GetFloat(string key, float defaultValue = 0F)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.Single |
defaultValue |
|
Returns
Type |
Description |
System.Single |
|
GetInt(String, Int32)
Declaration
public int GetInt(string key, int defaultValue = 0)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.Int32 |
defaultValue |
|
Returns
Type |
Description |
System.Int32 |
|
GetString(String, String)
Declaration
public string GetString(string key, string defaultValue = null)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.String |
defaultValue |
|
Returns
Type |
Description |
System.String |
|
GetStringArray(String, String[])
Declaration
public string[] GetStringArray(string key, string[] defaultValue = null)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.String[] |
defaultValue |
|
Returns
Type |
Description |
System.String[] |
|
RemoveKey(String)
Declaration
public void RemoveKey(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Save()
Declaration
SetFloat(String, Single)
Declaration
public void SetFloat(string key, float value)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.Single |
value |
|
SetInt(String, Int32)
Declaration
public void SetInt(string key, int value)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.Int32 |
value |
|
SetString(String, String)
Declaration
public void SetString(string key, string value)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.String |
value |
|
SetStringArray(String, String[])
Declaration
public void SetStringArray(string key, string[] value)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.String[] |
value |
|
Implements