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

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

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

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

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

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

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

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

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

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

            return(hashCode);
        }