コード例 #1
0
 public tournamentMatchBracket(int matchId,
                               string matchIdentifier,
                               Participant opponent1,
                               Participant opponent2,
                               matchStation matchLocation,
                               double opponent1Score,
                               double opponent2Score,
                               bool opponent1LoosePreviousMatch,
                               bool opponent2LoosePreviousMatch,
                               MatchStatus result) : base(matchId, matchIdentifier, opponent1, opponent2, matchLocation, opponent1Score, opponent2Score, result)
 {
     _opponent1LoosePreviousMatch = opponent1LoosePreviousMatch;
     _opponent2LoosePreviousMatch = opponent2LoosePreviousMatch;
 }
コード例 #2
0
 public tournamentMatch(int matchId, string matchIdentifier, Participant opponent1,
                        Participant opponent2,
                        matchStation matchLocation,
                        double opponent1Score,
                        double opponent2Score,
                        MatchStatus result)
 {
     _matchId            = matchId;
     _matchIdentifier    = matchIdentifier;
     _matchIdentifierInt = Tools.ConvertFromBase26(matchIdentifier).ToString();
     _matchLocation      = matchLocation;
     _opponent1          = opponent1;
     _opponent2          = opponent2;
     _opponent1Score     = opponent1Score;
     _opponent2Score     = opponent2Score;
     _result             = result;
 }