Struct WeakReferenceValue<T>
Contains WeakReference<T> field, methods and properties to manage it.
public struct WeakReferenceValue<T> where T : class
Type Parameters
T
The type of the value to store in the weak reference object.
Constructors
- WeakReferenceValue()
Initializes a new instance of the WeakReferenceValue<T> struct.
- WeakReferenceValue(T)
Initializes a new instance of the WeakReferenceValue<T> struct with the specified value.
Fields
- Reference
Gets or sets weak reference object.
Properties
- Value
Gets value.
Methods
- RaiseValueChanged()
Raises Changed event.