public virtual int _GetUniqueIdentifier() { var hashCode = 399326290; hashCode = hashCode * -1521134295 + (Id?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (OnTime?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (InFull?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (AsOrdered?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (Impeachment?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (TotalDelivered?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (Supplier?.GetHashCode() ?? 0); return(hashCode); }
public override bool Equals(object obj) { var compareTo = obj as Gender; if (compareTo is null) { return(false); } if (ReferenceEquals(this, compareTo)) { return(true); } return(Acronym.Equals(compareTo.Acronym) && InFull.Equals(compareTo.InFull)); }
public override int GetHashCode() { return((GetType().GetHashCode() * 1643) + Acronym.GetHashCode() + InFull.GetHashCode()); }