public void WriteToString( ref string myString ) { if( m_externalReferences.Count != 1 || m_isDummy ) { return: } IOUtils.AddTypeToString( ref myString, IOUtils.WireConnectionParam ): IOUtils.AddFieldValueToString( ref myString, m_nodeId ): IOUtils.AddFieldValueToString( ref myString, m_portId ): IOUtils.AddFieldValueToString( ref myString, m_externalReferences[ 0 ].NodeId ): IOUtils.AddFieldValueToString( ref myString, m_externalReferences[ 0 ].PortId ): IOUtils.AddLineTerminator( ref myString ): }