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

            return
                ((
                     EmailName == other.EmailName ||
                     EmailName != null &&
                     EmailName.Equals(other.EmailName)
                     ) &&
                 (
                     EmailCreatePostFromReply == other.EmailCreatePostFromReply ||
                     EmailCreatePostFromReply != null &&
                     EmailCreatePostFromReply.Equals(other.EmailCreatePostFromReply)
                 ) &&
                 (
                     EmailAddCommentIdTo == other.EmailAddCommentIdTo ||
                     EmailAddCommentIdTo != null &&
                     EmailAddCommentIdTo.Equals(other.EmailAddCommentIdTo)
                 ) &&
                 (
                     EmailSubjectMaximumLength == other.EmailSubjectMaximumLength ||
                     EmailSubjectMaximumLength != null &&
                     EmailSubjectMaximumLength.Equals(other.EmailSubjectMaximumLength)
                 ) &&
                 (
                     EmailReplyToAddress == other.EmailReplyToAddress ||
                     EmailReplyToAddress != null &&
                     EmailReplyToAddress.Equals(other.EmailReplyToAddress)
                 ) &&
                 (
                     EmailReplyToDelimiter == other.EmailReplyToDelimiter ||
                     EmailReplyToDelimiter != null &&
                     EmailReplyToDelimiter.Equals(other.EmailReplyToDelimiter)
                 ) &&
                 (
                     EmailTrackerIdPrefixInSubject == other.EmailTrackerIdPrefixInSubject ||
                     EmailTrackerIdPrefixInSubject != null &&
                     EmailTrackerIdPrefixInSubject.Equals(other.EmailTrackerIdPrefixInSubject)
                 ) &&
                 (
                     EmailTrackerIdPrefixInBody == other.EmailTrackerIdPrefixInBody ||
                     EmailTrackerIdPrefixInBody != null &&
                     EmailTrackerIdPrefixInBody.Equals(other.EmailTrackerIdPrefixInBody)
                 ) &&
                 (
                     EmailAsHTML == other.EmailAsHTML ||
                     EmailAsHTML != null &&
                     EmailAsHTML.Equals(other.EmailAsHTML)
                 ) &&
                 (
                     EmailDefaultUserName == other.EmailDefaultUserName ||
                     EmailDefaultUserName != null &&
                     EmailDefaultUserName.Equals(other.EmailDefaultUserName)
                 ) &&
                 (
                     EmailTemplatesRootPath == other.EmailTemplatesRootPath ||
                     EmailTemplatesRootPath != null &&
                     EmailTemplatesRootPath.Equals(other.EmailTemplatesRootPath)
                 ));
        }