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