C# 클래스 ActivEarth.Competition.Contests.LeaderBoard

This class represents the leaderboard of a contest which displays bracket information to the user.
상속: System.Web.UI.UserControl
파일 보기 프로젝트 열기: mlcamilli/ActivEarth

보호된 프로퍼티들

프로퍼티 타입 설명
LeaderBoardTable global::System.Web.UI.WebControls.Table

공개 메소드들

메소드 설명
PopulateLeaderBoard ( List teams, Color backColors, Color textColors, string scoreFormat, List rewards ) : void

Fills the leaderboard with the teams that are passed in.

비공개 메소드들

메소드 설명
MakeBracketCell ( ContestTeam team ) : System.Web.UI.WebControls.TableCell

Makes a bracket cell for a row.

MakeRewardCell ( ContestTeam team, List rewards ) : System.Web.UI.WebControls.TableCell

Makes a table cell containing the reward the team will receive.

MakeRowForTable ( ContestTeam team, Color backColor, Color textColor, string scoreFormat, List rewards ) : System.Web.UI.WebControls.TableRow

Creates a new row for the leaderboard table.

MakeScoreCell ( ContestTeam team, string scoreFormat ) : System.Web.UI.WebControls.TableCell

Makes a Table Cell containing the team's score.

MakeTeamCell ( ContestTeam team ) : System.Web.UI.WebControls.TableCell

Makes a Team cell for the row.

메소드 상세

PopulateLeaderBoard() 공개 메소드

Fills the leaderboard with the teams that are passed in.
public PopulateLeaderBoard ( List teams, Color backColors, Color textColors, string scoreFormat, List rewards ) : void
teams List The teams corressponding to the brackets realative to the user.
backColors Color The backcolors the leaderboard should use.
textColors Color The text colors the leaderboard should use.
scoreFormat string The format of each teams score.
rewards List The reward levels of each bracket.
리턴 void

프로퍼티 상세

LeaderBoardTable 보호되어 있는 프로퍼티

LeaderBoardTable control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Table LeaderBoardTable
리턴 global::System.Web.UI.WebControls.Table