示例#1
0
 public override int GetHashCode()
 {
     return(Date.GetHashCode() ^ 7
            * HomeId.GetHashCode() ^ 11
            * AwayId.GetHashCode() ^ 17
            * LeagueId.GetHashCode() ^ 23);
 }
示例#2
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hash = 23;
         hash = hash * 37 + TeamId.GetHashCode();
         hash = hash * 37 + (Name != null ? Name.GetHashCode() : 0);
         hash = hash * 37 + (LeagueId != null ? LeagueId.GetHashCode() : 0);
         hash = hash * 37 + SeasonId.GetHashCode();
         hash = hash * 37 + (Score != null ? Score.GetHashCode() : 0);
         return(hash);
     }
 }
示例#3
0
 public override int GetHashCode()
 {
     return(LeagueId.GetHashCode());
 }