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