The following tables list the members exposed by WeakAction.
Name | Description | |
---|---|---|
![]() | WeakAction Constructor | Initializes a new instance of the WeakAction class. |
Name | Description | |
---|---|---|
![]() | Action | Gets the Action associated to this instance. |
![]() | IsAlive | Gets a value indicating whether the Action's owner is still alive, or if it was collected by the Garbage Collector already. |
![]() | Target | Gets the Action's owner. This object is stored as a |
Name | Description | |
---|---|---|
![]() | Dispose | Clears the weak reference of this instance. |
![]() | Invoke | Invokes the action of this instance. This method runs only if the target of the reference is still alive. |