public override bool Equals(object other)
        {
            CatalogueElementName otherName = other as CatalogueElementName;

            if (otherName == null)
            {
                return(false);
            }

            return(m_catalogueName == otherName.m_catalogueName &&
                   m_element == otherName.m_element &&
                   m_name == otherName.m_name);
        }
        public int CompareTo(CatalogueElementName other)
        {
            int result = m_catalogueName.CompareTo(other.m_catalogueName);

            if (result != 0)
            {
                return(result);
            }
            result = m_element.CompareTo(other.m_element);
            if (result != 0)
            {
                return(result);
            }
            return(m_name.CompareTo(other.m_name));
        }