示例#1
0
 public bool Equals(TournMatch other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(Equals(Player1, other.Player1) && Equals(Player2, other.Player2) && Round == other.Round);
 }
示例#2
0
        public int CompareTo(object obj)
        {
            TournMatch match = (TournMatch)obj;

            return(DBId.CompareTo(match.DBId));
        }