public override int GetHashCode() { int hashCode = -1512557629; if (StandardUnitDescriptions != null) { hashCode += StandardUnitDescriptions.GetHashCode(); } if (LanguageCode != null) { hashCode += LanguageCode.GetHashCode(); } return(hashCode); }
public override bool Equals(object obj) { if (obj == null) { return(false); } if (obj == this) { return(true); } return(obj is StandardUnitDescriptionGroup other && ((StandardUnitDescriptions == null && other.StandardUnitDescriptions == null) || (StandardUnitDescriptions?.Equals(other.StandardUnitDescriptions) == true)) && ((LanguageCode == null && other.LanguageCode == null) || (LanguageCode?.Equals(other.LanguageCode) == true))); }