WeakReference |
IObject |
Name | Description |
---|---|
IsAlive (get) | Returns the status of the weakly referenced object. |
IsChild (get) | Returns if this isnstance of WeakReference is a child. |
Target (get) | Returns a strong reference to the object a weak reference is being kept to. |
Target (set) | Sets the target object to keep a weak reference to. |
Name | Description |
---|---|
ClearDeadReferences | Releases any dead child WeakReferences. |
CreateChild | Creates a new weak reference without allocating addition resources to maintain reference integrity. |
Dispose | Releases the reference to the Target object. |
Equals | Returns a boolean indicating if the value and this object instance are the same instance. |
GetHashCode | Returns a pseudo-unique number identifying this instance. |
ToString | Returns a string representation of this object instance. |
Name | Description |
---|---|
Disposed | This event is raised when a controlling WeakReference loses reference to the underlying Target object. |
Constructors |