コード例 #1
0
        public override int GetHashCode()
        {
            int hashCode = -1700740666;

            hashCode = hashCode * -1521134295 + EngParam1.GetHashCode();
            hashCode = hashCode * -1521134295 + EngParam2.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(EngParam3);

            return(hashCode);
        }
コード例 #2
0
 public bool Equals(NodeId other)
 {
     return(EngParam1.Equals(other.EngParam1) &&
            EngParam2.Equals(other.EngParam2) &&
            EngParam3 == other.EngParam3);
 }