public override void Dispose() { base.Dispose(); _lastParentBinding?.Unbind(); _lastParentBinding = null; _lastParentComponent = null; }
public void Unbind() { _binding?.Unbind(); _unsubscribe(); _binding = null; _unsubscribe = null; }
public BindingWrapper(API.IComponentBinding binding, Action unsubscribe) { _binding = binding; _unsubscribe = unsubscribe; }