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

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

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

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

            return(hashCode);
        }
コード例 #2
0
        public override int GetHashCode()
        {
            int hashCode = 1248477288;

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

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

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

            return(hashCode);
        }