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

            return
                ((
                     Facebook == other.Facebook ||
                     Facebook != null &&
                     Facebook.Equals(other.Facebook)
                     ) &&
                 (
                     Twitter == other.Twitter ||
                     Twitter != null &&
                     Twitter.Equals(other.Twitter)
                 ) &&
                 (
                     ProviderConfigUserFolder == other.ProviderConfigUserFolder ||
                     ProviderConfigUserFolder != null &&
                     ProviderConfigUserFolder.Equals(other.ProviderConfigUserFolder)
                 ));
        }