Beispiel #1
0
        public override int GetHashCode()
        {
            int hashCode = Type.GetHashCode();

            if (value != null)
            {
                hashCode ^= value.GetHashCode();
            }
            return(hashCode);
        }
        public override int GetHashCode()
        {
            int hashCode = 1779620942;

            if (AssignmentType != null)
            {
                hashCode += AssignmentType.GetHashCode();
            }

            if (LocationIds != null)
            {
                hashCode += LocationIds.GetHashCode();
            }

            return(hashCode);
        }