StorableObject Members KerbalData - KSP Data Unlocked!

The StorableObject type exposes the following members.
Constructors

  NameDescription
Protected methodStorableObject
Initializes a new instance of the StorableObject class
Back to Top
Methods

  NameDescription
Public methodAdd (Inherited from ObservableDictionary TKey, TValue .)
Protected methodAddEntry (Inherited from ObservableDictionary TKey, TValue .)
Public methodClear (Inherited from ObservableDictionary TKey, TValue .)
Protected methodClearEntries (Inherited from ObservableDictionary TKey, TValue .)
Public methodClone T 
Clones a new instance of the object and all underlying data
Public methodContainsKey (Inherited from ObservableDictionary TKey, TValue .)
Public methodContainsValue (Inherited from ObservableDictionary TKey, TValue .)
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodGetEnumerator (Inherited from ObservableDictionary TKey, TValue .)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Protected methodGetIndexAndEntryForKey (Inherited from ObservableDictionary TKey, TValue .)
Public methodGetObjectData (Inherited from ObservableDictionary TKey, TValue .)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodInit
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.
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnCollectionChanged (Inherited from ObservableDictionary TKey, TValue .)
Public methodOnDeserialization (Inherited from ObservableDictionary TKey, TValue .)
Protected methodOnPropertyChanged(String) (Inherited from ObservableDictionary TKey, TValue .)
Protected methodOnPropertyChanged(String, Object)
Public methodRemove (Inherited from ObservableDictionary TKey, TValue .)
Protected methodRemoveEntry (Inherited from ObservableDictionary TKey, TValue .)
Public methodRevert
Reverts the object state and data to it's original state after the last load or save.
Public methodSave
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.
Protected methodSetEntry (Inherited from ObservableDictionary TKey, TValue .)
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Public methodTryGetValue (Inherited from ObservableDictionary TKey, TValue .)
Back to Top
Fields

  NameDescription
Protected field_keyedEntryCollection (Inherited from ObservableDictionary TKey, TValue .)
Back to Top
Properties

  NameDescription
Public propertyComparer (Inherited from ObservableDictionary TKey, TValue .)
Public propertyCount (Inherited from ObservableDictionary TKey, TValue .)
Public propertyDataManager
Gets the DataManager instance used by this instance
Public propertyDisplayName
Gets the instance display name
Public propertyId
Gets the id/name of the element
Public propertyIsDirty
Gets the is dirty flag
Public propertyItem (Inherited from ObservableDictionary TKey, TValue .)
Public propertyKeys (Inherited from ObservableDictionary TKey, TValue .)
Public propertyOriginal
Gets the original base data
Public propertyUri
Gets the absolute URI of the data
Public propertyValues (Inherited from ObservableDictionary TKey, TValue .)
Back to Top
Events

  NameDescription
Protected eventCollectionChanged (Inherited from ObservableDictionary TKey, TValue .)
Public eventPropertyChanged
Back to Top
See Also