Open Rails

SettingsBase Members

SettingsBase overview

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetDefaultValue Get the default value of a setting
GetHashCode (inherited from Object)Serves as a hash function for a particular type.
GetType (inherited from Object)Gets the Type of the current instance.
ResetOverloaded. Reset all values to their default
SaveOverloaded. Save all settings to the store
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Constructors

SettingsBase Constructor Constructor

Protected Instance Fields

SourcesTranslates name of a setting to its source

Protected Instance Properties

SettingStoreThe store of the settings

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
GetValue Get the current value of a setting
LoadOverloaded. Load all settings, possibly partly from the given options
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
ResetOverloaded. Reset a single setting to its default
SaveOverloaded. Save a setting to the store, if name and especially type are known
SetValue set the current value of a setting

See Also

SettingsBase Class | ORTS.Common Namespace