/// <summary> /// Unregisters the handler associated with this registration. /// </summary> public void Dispose() { if (source != null && action != null) { source.Unregister(action); action = null; source = null; } }