/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { var hashCode = 41; // Suitable nullity checks etc, of course :) if (Nodetypes != null) { hashCode = hashCode * 59 + Nodetypes.GetHashCode(); } if (Ignorableprops != null) { hashCode = hashCode * 59 + Ignorableprops.GetHashCode(); } if (Ignorablenodes != null) { hashCode = hashCode * 59 + Ignorablenodes.GetHashCode(); } if (Enabled != null) { hashCode = hashCode * 59 + Enabled.GetHashCode(); } if (Distfolders != null) { hashCode = hashCode * 59 + Distfolders.GetHashCode(); } return(hashCode); } }
/// <summary> /// Returns true if ComAdobeCqSocialSyncImplUserSyncListenerImplProperties instances are equal /// </summary> /// <param name="other">Instance of ComAdobeCqSocialSyncImplUserSyncListenerImplProperties to be compared</param> /// <returns>Boolean</returns> public bool Equals(ComAdobeCqSocialSyncImplUserSyncListenerImplProperties other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Nodetypes == other.Nodetypes || Nodetypes != null && Nodetypes.Equals(other.Nodetypes) ) && ( Ignorableprops == other.Ignorableprops || Ignorableprops != null && Ignorableprops.Equals(other.Ignorableprops) ) && ( Ignorablenodes == other.Ignorablenodes || Ignorablenodes != null && Ignorablenodes.Equals(other.Ignorablenodes) ) && ( Enabled == other.Enabled || Enabled != null && Enabled.Equals(other.Enabled) ) && ( Distfolders == other.Distfolders || Distfolders != null && Distfolders.Equals(other.Distfolders) )); }