/// <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 (EventFilter != null) { hashCode = hashCode * 59 + EventFilter.GetHashCode(); } if (LaunchesEventhandlerThreadpoolMaxsize != null) { hashCode = hashCode * 59 + LaunchesEventhandlerThreadpoolMaxsize.GetHashCode(); } if (LaunchesEventhandlerThreadpoolPriority != null) { hashCode = hashCode * 59 + LaunchesEventhandlerThreadpoolPriority.GetHashCode(); } if (LaunchesEventhandlerUpdatelastmodification != null) { hashCode = hashCode * 59 + LaunchesEventhandlerUpdatelastmodification.GetHashCode(); } return(hashCode); } }
/// <summary> /// Returns true if ComAdobeCqWcmLaunchesImplLaunchesEventHandlerProperties instances are equal /// </summary> /// <param name="other">Instance of ComAdobeCqWcmLaunchesImplLaunchesEventHandlerProperties to be compared</param> /// <returns>Boolean</returns> public bool Equals(ComAdobeCqWcmLaunchesImplLaunchesEventHandlerProperties other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( EventFilter == other.EventFilter || EventFilter != null && EventFilter.Equals(other.EventFilter) ) && ( LaunchesEventhandlerThreadpoolMaxsize == other.LaunchesEventhandlerThreadpoolMaxsize || LaunchesEventhandlerThreadpoolMaxsize != null && LaunchesEventhandlerThreadpoolMaxsize.Equals(other.LaunchesEventhandlerThreadpoolMaxsize) ) && ( LaunchesEventhandlerThreadpoolPriority == other.LaunchesEventhandlerThreadpoolPriority || LaunchesEventhandlerThreadpoolPriority != null && LaunchesEventhandlerThreadpoolPriority.Equals(other.LaunchesEventhandlerThreadpoolPriority) ) && ( LaunchesEventhandlerUpdatelastmodification == other.LaunchesEventhandlerUpdatelastmodification || LaunchesEventhandlerUpdatelastmodification != null && LaunchesEventhandlerUpdatelastmodification.Equals(other.LaunchesEventhandlerUpdatelastmodification) )); }