Example #1
0
        public override bool Equals(Object other)
        {
            SynonymNode snOther = (SynonymNode)other;

            if (snOther.Id == this.Id && snOther.Name == this.Name)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
Example #2
0
        public int CompareTo(Object other)
        {
            SynonymNode snOther = (SynonymNode)other;

            return(this.Name.CompareTo(snOther.Name));
        }