/// <summary> /// Returns true if GrowthAbility instances are equal /// </summary> /// <param name="other">Instance of GrowthAbility to be compared</param> /// <returns>Boolean</returns> public bool Equals(GrowthAbility other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Nagr == other.Nagr || Nagr != null && Nagr.Equals(other.Nagr) ) && ( Tagr == other.Tagr || Tagr != null && Tagr.Equals(other.Tagr) ) && ( Npgr == other.Npgr || Npgr != null && Npgr.Equals(other.Npgr) ) && ( Bepsgr == other.Bepsgr || Bepsgr != null && Bepsgr.Equals(other.Bepsgr) ) && ( Npasgr == other.Npasgr || Npasgr != null && Npasgr.Equals(other.Npasgr) )); }