The CraftFile type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
| Name | Description | |
|---|---|---|
| CraftFile | Initializes a new instance of the CraftFile class |
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 | ||
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 filesystem 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 .) |
Fields
| Name | Description | |
|---|---|---|
| _keyedEntryCollection | (Inherited from ObservableDictionary TKey, TValue .) |
Properties
| Name | Description | |
|---|---|---|
| Comparer | (Inherited from ObservableDictionary TKey, TValue .) | |
| Count | (Inherited from ObservableDictionary TKey, TValue .) | |
| DataManager | (Inherited from StorableObject.) | |
| Id |
Gets the id/name of the element
(Inherited from StorableObject.) | |
| IsDirty |
Gets the is dirty flag
(Inherited from StorableObject.) | |
| Item | (Inherited from ObservableDictionary TKey, TValue .) | |
| Keys | (Inherited from ObservableDictionary TKey, TValue .) | |
| Original |
Gets the orginal base data
(Inherited from StorableObject.) | |
| Parts |
Gets or sets the parts collection. - File Property: PART
| |
| Ship |
Gets or sets the ship name. - File Property: ship
| |
| Type |
Gets or sets the type. - File Property: type
| |
| Uri |
Gets the absloute URI of the data
(Inherited from StorableObject.) | |
| Values | (Inherited from ObservableDictionary TKey, TValue .) | |
| Version |
Gets or sets the version. - File Property: version
|
Events
| Name | Description | |
|---|---|---|
| CollectionChanged | (Inherited from ObservableDictionary TKey, TValue .) | |
| PropertyChanged | (Inherited from StorableObject.) |
See Also