public NodeGraphConnector(EndpointDescriptor descriptor, NodeGraphNode p_parent, ConnectorType type)
 {
     this.m_Name = String.Empty;
     this.m_oParentNode = p_parent;
     this.m_oView = p_parent.ParentView;
     this.m_oConnectorType = type;
     this.m_iConnectorIndex = descriptor.index;
 }
        public NodeGraphConnector(EndpointDescriptor descriptor, NodeGraphView p_view, ConnectorType type)
        {
            this.m_Name = String.Empty;
            this.m_oParentNode = null;

            this.m_oView = p_view;
            this.m_oConnectorType = type;
            this.m_iConnectorIndex = descriptor.index;
        }