C# 클래스 BolfTracker.Web.GamePanelViewModel

파일 보기 프로젝트 열기: mkchandler/bolf-tracker-mvc

공개 프로퍼티들

프로퍼티 타입 설명
Hole string
Player string

공개 메소드들

메소드 설명
GamePanelViewModel ( BolfTracker.Models.Game game, IEnumerable shots, IEnumerable allPlayers, IEnumerable allHoles ) : System
GetCurrentHole ( ) : int
GetNextPlayer ( ) : BolfTracker.Models.Player
GetPointsAvailable ( int currentHole ) : int
HoleIsPushed ( int hole ) : bool

비공개 메소드들

메소드 설명
GetCurrentActivePlayers ( IEnumerable gamePlayers, bool includeOvertime ) : IEnumerable
GetCurrentPlayer ( ) : BolfTracker.Models.Player
GetPlayersWhoCanWin ( int currentHole ) : IEnumerable

메소드 상세

GamePanelViewModel() 공개 메소드

public GamePanelViewModel ( BolfTracker.Models.Game game, IEnumerable shots, IEnumerable allPlayers, IEnumerable allHoles ) : System
game BolfTracker.Models.Game
shots IEnumerable
allPlayers IEnumerable
allHoles IEnumerable
리턴 System

GetCurrentHole() 공개 메소드

public GetCurrentHole ( ) : int
리턴 int

GetNextPlayer() 공개 메소드

public GetNextPlayer ( ) : BolfTracker.Models.Player
리턴 BolfTracker.Models.Player

GetPointsAvailable() 공개 메소드

public GetPointsAvailable ( int currentHole ) : int
currentHole int
리턴 int

HoleIsPushed() 공개 메소드

public HoleIsPushed ( int hole ) : bool
hole int
리턴 bool

프로퍼티 상세

Hole 공개적으로 프로퍼티

public string Hole
리턴 string

Player 공개적으로 프로퍼티

public string Player
리턴 string