We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ex:
public void AddConnections(NodePort targetPort) { int connectionCount = targetPort.ConnectionCount; for (int i = 0; i < connectionCount; i++) { PortConnection connection = targetPort.connections[i]; NodePort otherPort = connection.Port; Connect(otherPort); } }
when targetport 's connections to port,has some overrider port,connect will reduce the targetport.connections
public void MoveConnections(NodePort targetPort) { int connectionCount = connections.Count; // Add connections to target port for (int i = 0; i < connectionCount; i++) { PortConnection connection = targetPort.connections[i]; NodePort otherPort = connection.Port; Connect(otherPort); } ClearConnections(); }
when targetPort has no connections ,will get a exception
The text was updated successfully, but these errors were encountered:
No branches or pull requests
ex:
when targetport 's connections to port,has some overrider port,connect will reduce the targetport.connections
when targetPort has no connections ,will get a exception
The text was updated successfully, but these errors were encountered: