Beispiel #1
0
            public NotifierTournament(TournamentDesc info)
            {
                ID     = info.TournamentID;
                    Style  = info.Style;
                    Format = info.Format;

                    if (info.Players != null)
                        foreach (string player in info.Players)
                            Players.Add(new NotifierTournamentPlayer(player));
            }
Beispiel #2
0
            public NotifierTournament(TournamentInfo info)
            {
                ID            = info.TournamentID;
                    Style         = info.Style;
                    Format        = info.Format;
                    NextEventTime = info.NextRoundTime.ToString();

                    if (info.Players != null)
                        foreach (TournamentPlayerInfo player in info.Players)
                            Players.Add(new NotifierTournamentPlayer(player));

                    if (info.Games != null)
                        foreach (TournamentGameInfo game in info.Games)
                            Games.Add(new NotifierTournamentGame(game, info.Players));
            }