Beispiel #1
0
        protected override List <StandingsEntry <Better> > CreateStandingsList(Tournament tournament)
        {
            List <StandingsEntry <Better> > betterStandings = new List <StandingsEntry <Better> >();

            foreach (Better better in tournament.Betters)
            {
                betterStandings.Add(StandingsEntry <Better> .Create(better));
            }

            return(betterStandings);
        }
Beispiel #2
0
        protected override List <StandingsEntry <PlayerReference> > CreateStandingsList(GroupBase group)
        {
            List <StandingsEntry <PlayerReference> > playerStandings = new List <StandingsEntry <PlayerReference> >();
            List <PlayerReference> playerReferences = group.GetPlayerReferences();

            foreach (PlayerReference participant in playerReferences)
            {
                playerStandings.Add(StandingsEntry <PlayerReference> .Create(participant));
            }

            return(playerStandings);
        }