public override int GetHashCode() { unchecked { var result = (Leaves != null ? Leaves.GetHashCode() : 0); result = (result * 397) ^ CreatedDate.GetHashCode(); result = (result * 397) ^ Id.GetHashCode(); result = (result * 397) ^ (Titles != null ? Titles.GetHashCode() : 0); result = (result * 397) ^ (Friend != null ? Friend.GetHashCode() : 0); return(result); } }
public override int GetHashCode() { int hash = 17; hash = hash * 23 + Id.GetHashCode(); hash = hash * 23 + Name.GetHashCode(); hash = hash * 23 + Seats.GetHashCode(); hash = hash * 23 + Region.GetHashCode(); hash = hash * 23 + CoatOfArms.GetHashCode(); hash = hash * 23 + Words.GetHashCode(); hash = hash * 23 + Titles.GetHashCode(); hash = hash * 23 + CurrentLord.GetHashCode(); hash = hash * 23 + Founder.GetHashCode(); hash = hash * 23 + Founded.GetHashCode(); hash = hash * 23 + Heir.GetHashCode(); hash = hash * 23 + Overlord.GetHashCode(); hash = hash * 23 + DiedOut.GetHashCode(); hash = hash * 23 + AncestralWeapons.GetHashCode(); hash = hash * 23 + CadetBranches.GetHashCode(); return(hash); }
public override int GetHashCode() { int hash = 17; hash = hash * 23 + Id.GetHashCode(); hash = hash * 23 + Name.GetHashCode(); hash = hash * 23 + Culture.GetHashCode(); hash = hash * 23 + Titles.GetHashCode(); hash = hash * 23 + OtherTitles.GetHashCode(); hash = hash * 23 + Aliases.GetHashCode(); hash = hash * 23 + Born.GetHashCode(); hash = hash * 23 + Died.GetHashCode(); hash = hash * 23 + Father.GetHashCode(); hash = hash * 23 + Mother.GetHashCode(); hash = hash * 23 + Spouse.GetHashCode(); hash = hash * 23 + Children.GetHashCode(); hash = hash * 23 + Allegiances.GetHashCode(); hash = hash * 23 + Books.GetHashCode(); hash = hash * 23 + PovBooks.GetHashCode(); hash = hash * 23 + PlayedBy.GetHashCode(); hash = hash * 23 + TvSeries.GetHashCode(); return(hash); }