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