/// <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 (HcName != null) { hashCode = hashCode * 59 + HcName.GetHashCode(); } if (HcTags != null) { hashCode = hashCode * 59 + HcTags.GetHashCode(); } if (HcMbeanName != null) { hashCode = hashCode * 59 + HcMbeanName.GetHashCode(); } if (MbeanName != null) { hashCode = hashCode * 59 + MbeanName.GetHashCode(); } if (AttributeName != null) { hashCode = hashCode * 59 + AttributeName.GetHashCode(); } if (AttributeValueConstraint != null) { hashCode = hashCode * 59 + AttributeValueConstraint.GetHashCode(); } return(hashCode); } }
/// <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 (HcName != null) { hashCode = hashCode * 59 + HcName.GetHashCode(); } if (HcTags != null) { hashCode = hashCode * 59 + HcTags.GetHashCode(); } if (HcMbeanName != null) { hashCode = hashCode * 59 + HcMbeanName.GetHashCode(); } if (Expression != null) { hashCode = hashCode * 59 + Expression.GetHashCode(); } if (LanguageExtension != null) { hashCode = hashCode * 59 + LanguageExtension.GetHashCode(); } return(hashCode); } }
/// <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 (HcName != null) { hashCode = hashCode * 59 + HcName.GetHashCode(); } if (HcTags != null) { hashCode = hashCode * 59 + HcTags.GetHashCode(); } if (HcMbeanName != null) { hashCode = hashCode * 59 + HcMbeanName.GetHashCode(); } if (FilterTags != null) { hashCode = hashCode * 59 + FilterTags.GetHashCode(); } if (FilterCombineTagsWithOr != null) { hashCode = hashCode * 59 + FilterCombineTagsWithOr.GetHashCode(); } return(hashCode); } }
/// <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 (HcName != null) { hashCode = hashCode * 59 + HcName.GetHashCode(); } if (HcTags != null) { hashCode = hashCode * 59 + HcTags.GetHashCode(); } if (HcMbeanName != null) { hashCode = hashCode * 59 + HcMbeanName.GetHashCode(); } if (NumberOfRetriesAllowed != null) { hashCode = hashCode * 59 + NumberOfRetriesAllowed.GetHashCode(); } return(hashCode); } }