Exemple #1
0
        /// <summary>
        /// Returns the port that this <see cref="PortConnection"/> points to
        /// </summary>
        public INodePort GetPort()
        {
            //if (port != null) return port;
            var targetNode = _data?.GetNode(nodeId);

            if (targetNode == null)
            {
                return(null);
            }

            _port = targetNode.GetPort(fieldName);
            return(_port);
        }