예제 #1
0
        public override int GetHashCode()
        {
            var hash = 17;

            hash = hash * 23 + ClusterID.GetHashCode();
            hash = hash * 23 + MSMSID.GetHashCode();
            hash = hash * 23 + GroupID.GetHashCode();

            return(hash);
        }
예제 #2
0
        public override bool Equals(object obj)
        {
            var other = (MSMSClusterMap)obj;

            if (other == null)
            {
                return(false);
            }
            if (!ClusterID.Equals(other.ClusterID))
            {
                return(false);
            }
            if (!GroupID.Equals(other.GroupID))
            {
                return(false);
            }
            return(MSMSID.Equals(other.MSMSID));
        }