Method | Description | |
---|---|---|
Load ( ) : bool |
Loads this settings entry from the settings file. This operation is thread-safe and process-safe.
|
|
Save ( ) : bool |
Saves this settings entry into the settings file. This operation is thread-safe and process-safe.
|
Method | Description | |
---|---|---|
Deserialize ( string str ) : object |
Deserializes the given string into an object of the type of this entry. This method should not throw any unhandled exception.
|
|
Serialize ( object value ) : string |
Serializes the given value into a string. This method should not throw any unhandled exception.
|
|
SettingsEntry ( string section, string key, object defaultValue ) : System |
protected abstract Deserialize ( string str ) : object | ||
str | string | The string to deserialize. |
return | object |
protected abstract Serialize ( object value ) : string | ||
value | object | The value to serialize. |
return | string |
protected SettingsEntry ( string section, string key, object defaultValue ) : System | ||
section | string | |
key | string | |
defaultValue | object | |
return | System |