Ejemplo n.º 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashcode = 23;
         hashcode = (hashcode * 31) + BigBlind.GetHashCode();
         hashcode = (hashcode * 31) + GameType.GetHashCode();
         hashcode = (hashcode * 31) + TableTypeDescription.GetHashCode();
         hashcode = (hashcode * 31) + Seats.GetHashCode();
         hashcode = (hashcode * 31) + Buyin.GetHashCode();
         return(hashcode);
     }
 }
Ejemplo n.º 2
0
        public override int GetHashCode()
        {
            var hashCode = 673475437;

            hashCode = hashCode * -1521134295 + ID.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Type);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Brand);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Model);

            hashCode = hashCode * -1521134295 + Kilowatt.GetHashCode();
            hashCode = hashCode * -1521134295 + Seats.GetHashCode();
            hashCode = hashCode * -1521134295 + Preowned.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <Customer> .Default.GetHashCode(Owner);

            return(hashCode);
        }
Ejemplo n.º 3
0
        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);
        }