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

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

Makes a Team cell for the row.
private MakeTeamCell ( ContestTeam team ) : System.Web.UI.WebControls.TableCell
team ActivEarth.Objects.Competition.Contests.ContestTeam The name of the team to display.
Результат System.Web.UI.WebControls.TableCell
        private TableCell MakeTeamCell(ContestTeam team)
        {
            TableCell teamCell = new TableCell();

            Label teamNameLabel = new Label();
            teamNameLabel.Text = team.Name;

            teamCell.Controls.Add(teamNameLabel);

            return teamCell;
        }