|
|
Nullable
|
[SerializableAttribute] public class NullableWeakReference : WeakReference
The NullableWeakReference type exposes the following members.
| Name | Description | |
|---|---|---|
| NullableWeakReference | Creates a NullableWeakReference |
| Name | Description | |
|---|---|---|
| IsAlive |
Gets an indication whether the object referenced by the current NullableWeakReference object has been cleared or garbage collected.
(Overrides WeakReferenceIsAlive) | |
| Target |
Gets the object (the target) referenced by the current NullableWeakReference object.
Set will only accept null.
(Overrides WeakReferenceTarget) | |
| TrackResurrection | Gets an indication whether the object referenced by the current WeakReference object is tracked after it is finalized. (Inherited from WeakReference) |
| Name | Description | |
|---|---|---|
| Clear | Sets Target to null so subsequent calls to Target returns null | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Discards the reference to the target represented by the current WeakReference object. (Inherited from WeakReference) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetObjectData | Populates a SerializationInfo object with all the data needed to serialize the current WeakReference object. (Inherited from WeakReference) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| Name | Description | |
|---|---|---|
| GetEnumValueOrDefault |
Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) | |
| GetEnumValueOrDefaultT |
Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) |