ActivEarth.Competition.Contests.LeaderBoard.MakeRowForTable C# (CSharp) Метод

MakeRowForTable() приватный Метод

Creates a new row for the leaderboard table.
private MakeRowForTable ( ContestTeam team, Color backColor, Color textColor, string scoreFormat, List rewards ) : System.Web.UI.WebControls.TableRow
team ActivEarth.Objects.Competition.Contests.ContestTeam The team corressponding to the row.
backColor Color The backcolor of the row.
textColor Color The text color of the row.
scoreFormat string The score format for the row.
rewards List The rewards of each bracket.
Результат System.Web.UI.WebControls.TableRow
        private TableRow MakeRowForTable(ContestTeam team, Color backColor, Color textColor, string scoreFormat, List<int> rewards)
        {
            TableRow newRow = new TableRow();
            newRow.BackColor = backColor;
            newRow.ForeColor = textColor;
            newRow.Cells.Add(MakeBracketCell(team));
            newRow.Cells.Add(MakeTeamCell(team));
            newRow.Cells.Add(MakeScoreCell(team, scoreFormat));
            newRow.Cells.Add(MakeRewardCell(team, rewards));
            return newRow;
        }