Table of Contents

Struct WeakReferenceValue<T>

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

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

Changed

Occurs when Value is changed.

Reference

Gets or sets weak reference object.

Properties

Value

Gets value.

Methods

RaiseValueChanged()

Raises Changed event.

Reset()

Sets Value to Null.