The PartFile type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
| Name | Description | |
|---|---|---|
| PartFile | Initializes a new instance of the PartFile 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 | ||
| 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 .) |
Fields
| Name | Description | |
|---|---|---|
| _keyedEntryCollection | (Inherited from ObservableDictionary TKey, TValue .) |
Properties
| Name | Description | |
|---|---|---|
| AngularDrag |
Gets or sets angular drag. - File Property: angularDrag
| |
| Author |
Gets or sets the author. - File Property: author
| |
| BreakingForce |
Gets or sets the breaking force. - File Property: breakingForce
| |
| BreakingTorque |
Gets or sets the breaking torque. - File Property: breakingTorque
| |
| Category |
Gets or sets the category. - File Property: category
| |
| Comparer | (Inherited from ObservableDictionary TKey, TValue .) | |
| Cost |
Gets or sets the cost. - File Property: cost
| |
| Count | (Inherited from ObservableDictionary TKey, TValue .) | |
| CrashTolerance |
Gets or sets the crash tolerance. - File Property: crashTolerance
| |
| DataManager |
Gets the DataManager instance used by this instance
(Inherited from StorableObject.) | |
| Description |
Gets or sets the description. - File Property: description
| |
| DisplayName |
Gets the instance display name
(Inherited from StorableObject.) | |
| DragModelType |
Gets or sets the drag model type. - File Property: dragModelType
| |
| ExplosionPotential |
Gets or sets the explosion potential. - File Property: explosionPotential
| |
| 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 .) | |
| Manufacturer |
Gets or sets the manufacturer. - File Property: manufacturer
| |
| Mass |
Gets or sets the mass. - File Property: mass
| |
| MaxDrag |
Gets or sets maximum drag. - File Property: maximum_drag
| |
| MaxTemp |
Gets or sets the maximum temp. - File Property: maxTemp
| |
| Mesh |
Gets or sets the mesh file name. - File Property: mesh
| |
| MinDrag |
Gets or set minimum drag. - File Property: minimum_drag
| |
| Module |
Gets or sets the module. - File Property: module
| |
| Modules |
Gets or sets the module collection. - File Property: MODULE
| |
| Name |
Gets or sets the name. - File Property: name
| |
| Original |
Gets the original base data
(Inherited from StorableObject.) | |
| RescaleFactor |
Gets or sets the rescale factor. - File Property: rescaleFactor
| |
| Resources |
Gets or sets the resource collection. - File Property: RESOURCE
| |
| SubCategory |
Gets or sets the sub category. - File Property: subcategory
| |
| Title |
Gets or sets the title. - File Property: title
| |
| Uri |
Gets the absolute URI of the data
(Inherited from StorableObject.) | |
| Values | (Inherited from ObservableDictionary TKey, TValue .) | |
| VesselType |
Gets or sets the vessel type. - File Property: vesselType
|
Events
| Name | Description | |
|---|---|---|
| CollectionChanged | (Inherited from ObservableDictionary TKey, TValue .) | |
| PropertyChanged | (Inherited from StorableObject.) |
See Also