public void SetTarget(GoToLabel target) { _targetLabelUID = target != null ? target.UID : null; _targetLabel = target != null ? target : null; GatherPorts(); }
public void SetTarget(GoToLabel newTarget) { _targetLabel = new NodeReference <GoToLabel>(newTarget); }