/// <summary>
        /// 
        /// </summary>
        /// <param name="obj"></param>
        /// <returns></returns>
        public bool Equals(AttributeSimilarityDescriptor obj)
        {
            if (obj == null)
                return false;

            if (ReferenceEquals(this, obj))
                return true;

            if (this.GetHashCode() != obj.GetHashCode())
                return false;

            return (this.ToString().Equals(obj.ToString()));
        }
Example #2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="obj"></param>
        /// <returns></returns>
        public bool Equals(AttributeSimilarityDescriptor obj)
        {
            if (obj == null)
            {
                return(false);
            }

            if (ReferenceEquals(this, obj))
            {
                return(true);
            }

            if (this.GetHashCode() != obj.GetHashCode())
            {
                return(false);
            }

            return(this.ToString().Equals(obj.ToString()));
        }