The StorableObjects T type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
| Name | Description | |
|---|---|---|
| StorableObjects T |
Initializes a new instance of the StorableObjects T class.
|
Methods
| Name | Description | |
|---|---|---|
| Add |
Adds the object to the data collection. Saving the object after adding to the collection will store the object data
with the configured reposiotry.
The Save() method on the object is called after adding.
| |
| ContainsId |
Checks if provided id exists as an available object instance
| |
| Delete(String) |
Deletes the object instance from the underlying data store and unloads it from memory.
| |
| Delete(T) |
Deletes the object instance from the underlying data store and unloads it from memory.
| |
| (Inherited from | ||
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from | ||
Serves as a hash function for a particular type. (Inherited from | ||
Gets the (Inherited from | ||
Creates a shallow copy of the current (Inherited from | ||
| Refresh |
Refreshes list of availble data objects. (Does quick load of base meta-data only, objects are lazy loaded on first access)
| |
| Save |
Saves all changed objects back to the configured repository.
| |
Returns a string that represents the current object. (Inherited from |
Properties
| Name | Description | |
|---|---|---|
| Count |
Gets the number of objects being maintained
| |
| Item |
Gets or sets the value of a particular KSP data object.
| |
| Names |
Gets the object ids maintained by this collection
| |
| Repo |
Gets the repository instance used by this collection
|
See Also