Пример #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = GametypeId;
         hashCode = (hashCode * 397) ^ PokergametypeId.GetHashCode();
         hashCode = (hashCode * 397) ^ Tablesize.GetHashCode();
         hashCode = (hashCode * 397) ^ Smallblindincents;
         hashCode = (hashCode * 397) ^ CurrencytypeId.GetHashCode();
         hashCode = (hashCode * 397) ^ Bigblindincents;
         hashCode = (hashCode * 397) ^ Istourney.GetHashCode();
         hashCode = (hashCode * 397) ^ Anteincents;
         hashCode = (hashCode * 397) ^ TableType.GetHashCode();
         return(hashCode);
     }
 }
Пример #2
0
 protected bool Equals(Gametypes other)
 {
     return(GametypeId == other.GametypeId && PokergametypeId == other.PokergametypeId && Tablesize == other.Tablesize && Smallblindincents == other.Smallblindincents && CurrencytypeId == other.CurrencytypeId && Bigblindincents == other.Bigblindincents && Istourney.Equals(other.Istourney) && Anteincents == other.Anteincents);
 }