XPRMObjectBase Class
All of the other classes that are backed by Mosel must inherit the XPRMObjectBase class - this defines a reference to the XPRMObject that the object was spawned by. This is done to prevent the XPRM object from being garbage-collected, which could lead to a Mosel model being unloaded or Mosel itself being exited while we're still trying to access data.

Namespace: Mosel
Assembly: xprmdn (in xprmdn.dll) Version: 4.8.0.0

C#
public abstract class XPRMObjectBase : XPRMObject
The XPRMObjectBase type exposes the following members.

Name | Description | |
---|---|---|
![]() |
Model |
Used to fetch the XPRM model to which this object belongs, or else 'null' if there is no model anywhere among this Object's ancestors.
|
![]() |
Owner |
Used to fetch the XPRM object to which this object belongs
|

Name | Description | |
---|---|---|
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize |
Allows an
Object to attempt to free resources and perform other cleanup operations before the
Object is reclaimed by garbage collection.
(Inherited from Object.) |
![]() |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
![]() |
GetType |
Gets the
Type of the current instance.
(Inherited from Object.) |
![]() |
MemberwiseClone |
Creates a shallow copy of the current
Object.
(Inherited from Object.) |
![]() |
ToString | (Inherited from Object.) |

Reference
