Пример #1
0
        /// <summary>
        /// Returns true if OrgApacheJackrabbitOakQueryQueryEngineSettingsServiceProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of OrgApacheJackrabbitOakQueryQueryEngineSettingsServiceProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(OrgApacheJackrabbitOakQueryQueryEngineSettingsServiceProperties other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     QueryLimitInMemory == other.QueryLimitInMemory ||
                     QueryLimitInMemory != null &&
                     QueryLimitInMemory.Equals(other.QueryLimitInMemory)
                     ) &&
                 (
                     QueryLimitReads == other.QueryLimitReads ||
                     QueryLimitReads != null &&
                     QueryLimitReads.Equals(other.QueryLimitReads)
                 ) &&
                 (
                     QueryFailTraversal == other.QueryFailTraversal ||
                     QueryFailTraversal != null &&
                     QueryFailTraversal.Equals(other.QueryFailTraversal)
                 ) &&
                 (
                     FastQuerySize == other.FastQuerySize ||
                     FastQuerySize != null &&
                     FastQuerySize.Equals(other.FastQuerySize)
                 ));
        }