public override int GetHashCode()
        {
            int hashCode = 0;

            foreach (SearchCondition condition in conditions)
            {
                hashCode += condition.GetHashCode();
            }
            return(indexCondition.GetHashCode() + hashCode);
        }
Beispiel #2
0
        public override int GetHashCode()
        {
            int hashCode = conditions.Sum(condition => condition.GetHashCode());

            return(indexCondition.GetHashCode() + hashCode);
        }