public void ConnectPort(ICore other, int selfEdge, int otherEdge) { InPorts.Connect(selfEdge, other.OutPorts, otherEdge); OutPorts.Connect(selfEdge, other.InPorts, otherEdge); }