Esempio n. 1
0
        public override int GetHashCode()
        {
            int hashcode = 157;

            unchecked {
                if (isset.elapsed)
                {
                    hashcode = (hashcode * 397) + Elapsed.GetHashCode();
                }
                if (isset.rows_completed)
                {
                    hashcode = (hashcode * 397) + Rows_completed.GetHashCode();
                }
                if (isset.rows_estimated)
                {
                    hashcode = (hashcode * 397) + Rows_estimated.GetHashCode();
                }
                if (isset.rows_rejected)
                {
                    hashcode = (hashcode * 397) + Rows_rejected.GetHashCode();
                }
            }
            return(hashcode);
        }
Esempio n. 2
0
 public override int GetHashCode() => Time.GetHashCode() + Elapsed.GetHashCode() + TotalElapsed.GetHashCode();