Esempio n. 1
0
        /// <summary>
        /// Returns true if OrgApacheSlingCommonsLogLogManagerFactoryWriterProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of OrgApacheSlingCommonsLogLogManagerFactoryWriterProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(OrgApacheSlingCommonsLogLogManagerFactoryWriterProperties other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     OrgApacheSlingCommonsLogFile == other.OrgApacheSlingCommonsLogFile ||
                     OrgApacheSlingCommonsLogFile != null &&
                     OrgApacheSlingCommonsLogFile.Equals(other.OrgApacheSlingCommonsLogFile)
                     ) &&
                 (
                     OrgApacheSlingCommonsLogFileNumber == other.OrgApacheSlingCommonsLogFileNumber ||
                     OrgApacheSlingCommonsLogFileNumber != null &&
                     OrgApacheSlingCommonsLogFileNumber.Equals(other.OrgApacheSlingCommonsLogFileNumber)
                 ) &&
                 (
                     OrgApacheSlingCommonsLogFileSize == other.OrgApacheSlingCommonsLogFileSize ||
                     OrgApacheSlingCommonsLogFileSize != null &&
                     OrgApacheSlingCommonsLogFileSize.Equals(other.OrgApacheSlingCommonsLogFileSize)
                 ) &&
                 (
                     OrgApacheSlingCommonsLogFileBuffered == other.OrgApacheSlingCommonsLogFileBuffered ||
                     OrgApacheSlingCommonsLogFileBuffered != null &&
                     OrgApacheSlingCommonsLogFileBuffered.Equals(other.OrgApacheSlingCommonsLogFileBuffered)
                 ));
        }
Esempio n. 2
0
        /// <summary>
        /// Returns true if OrgApacheSlingCommonsLogLogManagerProperties instances are equal
        /// </summary>
        /// <param name="other">Instance of OrgApacheSlingCommonsLogLogManagerProperties to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(OrgApacheSlingCommonsLogLogManagerProperties other)
        {
            if (other is null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     OrgApacheSlingCommonsLogLevel == other.OrgApacheSlingCommonsLogLevel ||
                     OrgApacheSlingCommonsLogLevel != null &&
                     OrgApacheSlingCommonsLogLevel.Equals(other.OrgApacheSlingCommonsLogLevel)
                     ) &&
                 (
                     OrgApacheSlingCommonsLogFile == other.OrgApacheSlingCommonsLogFile ||
                     OrgApacheSlingCommonsLogFile != null &&
                     OrgApacheSlingCommonsLogFile.Equals(other.OrgApacheSlingCommonsLogFile)
                 ) &&
                 (
                     OrgApacheSlingCommonsLogFileNumber == other.OrgApacheSlingCommonsLogFileNumber ||
                     OrgApacheSlingCommonsLogFileNumber != null &&
                     OrgApacheSlingCommonsLogFileNumber.Equals(other.OrgApacheSlingCommonsLogFileNumber)
                 ) &&
                 (
                     OrgApacheSlingCommonsLogFileSize == other.OrgApacheSlingCommonsLogFileSize ||
                     OrgApacheSlingCommonsLogFileSize != null &&
                     OrgApacheSlingCommonsLogFileSize.Equals(other.OrgApacheSlingCommonsLogFileSize)
                 ) &&
                 (
                     OrgApacheSlingCommonsLogPattern == other.OrgApacheSlingCommonsLogPattern ||
                     OrgApacheSlingCommonsLogPattern != null &&
                     OrgApacheSlingCommonsLogPattern.Equals(other.OrgApacheSlingCommonsLogPattern)
                 ) &&
                 (
                     OrgApacheSlingCommonsLogConfigurationFile == other.OrgApacheSlingCommonsLogConfigurationFile ||
                     OrgApacheSlingCommonsLogConfigurationFile != null &&
                     OrgApacheSlingCommonsLogConfigurationFile.Equals(other.OrgApacheSlingCommonsLogConfigurationFile)
                 ) &&
                 (
                     OrgApacheSlingCommonsLogPackagingDataEnabled == other.OrgApacheSlingCommonsLogPackagingDataEnabled ||
                     OrgApacheSlingCommonsLogPackagingDataEnabled != null &&
                     OrgApacheSlingCommonsLogPackagingDataEnabled.Equals(other.OrgApacheSlingCommonsLogPackagingDataEnabled)
                 ) &&
                 (
                     OrgApacheSlingCommonsLogMaxCallerDataDepth == other.OrgApacheSlingCommonsLogMaxCallerDataDepth ||
                     OrgApacheSlingCommonsLogMaxCallerDataDepth != null &&
                     OrgApacheSlingCommonsLogMaxCallerDataDepth.Equals(other.OrgApacheSlingCommonsLogMaxCallerDataDepth)
                 ) &&
                 (
                     OrgApacheSlingCommonsLogMaxOldFileCountInDump == other.OrgApacheSlingCommonsLogMaxOldFileCountInDump ||
                     OrgApacheSlingCommonsLogMaxOldFileCountInDump != null &&
                     OrgApacheSlingCommonsLogMaxOldFileCountInDump.Equals(other.OrgApacheSlingCommonsLogMaxOldFileCountInDump)
                 ) &&
                 (
                     OrgApacheSlingCommonsLogNumOfLines == other.OrgApacheSlingCommonsLogNumOfLines ||
                     OrgApacheSlingCommonsLogNumOfLines != null &&
                     OrgApacheSlingCommonsLogNumOfLines.Equals(other.OrgApacheSlingCommonsLogNumOfLines)
                 ));
        }