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

            return
                ((
                     Accepted == other.Accepted ||
                     Accepted != null &&
                     Accepted.Equals(other.Accepted)
                     ) &&
                 (
                     Ranked == other.Ranked ||
                     Ranked != null &&
                     Ranked.Equals(other.Ranked)
                 ));
        }