Click or drag to resize

NullableWeakReference Methods

The NullableWeakReference type exposes the following members.

Methods
  Name Description
Public method Clear Sets Target to null so subsequent calls to Target returns null
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
Protected method Finalize Discards the reference to the target represented by the current WeakReference object.
(Inherited from WeakReference)
Public method GetHashCode Serves as the default hash function.
(Inherited from Object)
Public method GetObjectData Populates a SerializationInfo object with all the data needed to serialize the current WeakReference object.
(Inherited from WeakReference)
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Protected method MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
Public method ToString Returns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
  Name Description
Public Extension Method GetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension Method GetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also