The ConfigFile type exposes the following members.
Back to Top
Methods
| Name | Description | |
|---|---|---|
| Add | (Inherited from ObservableDictionary TKey, TValue .) | |
| AddEntry | (Inherited from ObservableDictionary TKey, TValue .) | |
| Clear | (Inherited from ObservableDictionary TKey, TValue .) | |
| ClearEntries | (Inherited from ObservableDictionary TKey, TValue .) | |
| Clone T |
Clones a new instance of the object and all underlying data
(Inherited from StorableObject.) | |
| ContainsKey | (Inherited from ObservableDictionary TKey, TValue .) | |
| ContainsValue | (Inherited from ObservableDictionary TKey, TValue .) | |
| (Inherited from | ||
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from | ||
| GetEnumerator | (Inherited from ObservableDictionary TKey, TValue .) | |
Serves as a hash function for a particular type. (Inherited from | ||
| GetIndexAndEntryForKey | (Inherited from ObservableDictionary TKey, TValue .) | |
| GetObjectData | (Inherited from ObservableDictionary TKey, TValue .) | |
Gets the (Inherited from | ||
| Init |
Handles inital setup and population of data properties.
This is some of the "magic" that allows developers creating custom models to easily map
StorableObjects instances with the correct repositories to custom properties without
a ton of wireup code.
(Inherited from StorableObject.) | |
Creates a shallow copy of the current (Inherited from | ||
| OnCollectionChanged | (Inherited from ObservableDictionary TKey, TValue .) | |
| OnDeserialization | (Inherited from ObservableDictionary TKey, TValue .) | |
| OnPropertyChanged(String) | (Inherited from ObservableDictionary TKey, TValue .) | |
| OnPropertyChanged(String, Object) | (Inherited from StorableObject.) | |
| Remove | (Inherited from ObservableDictionary TKey, TValue .) | |
| RemoveEntry | (Inherited from ObservableDictionary TKey, TValue .) | |
| Revert |
Restores the object to the state it was in when it's data was first loaded or last saved.
(Overrides StorableObject Revert .) | |
| Save |
Saves the object and all children to the name specified.
If class is loaded from KerbalData using the StorableObjects class then save will use the repo managed by
storable objects. Otherwise the local file system is used.
(Inherited from StorableObject.) | |
| SetEntry | (Inherited from ObservableDictionary TKey, TValue .) | |
Returns a string that represents the current object. (Inherited from | ||
| TryGetValue | (Inherited from ObservableDictionary TKey, TValue .) |
See Also