C# Class BolfTracker.Web.GamePanelViewModel

Afficher le fichier Open project: mkchandler/bolf-tracker-mvc

Méthodes publiques

Свойство Type Description
Hole string
Player string

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
GetCurrentActivePlayers ( IEnumerable gamePlayers, bool includeOvertime ) : IEnumerable
GetCurrentPlayer ( ) : BolfTracker.Models.Player
GetPlayersWhoCanWin ( int currentHole ) : IEnumerable

Method Details

GamePanelViewModel() public méthode

public GamePanelViewModel ( BolfTracker.Models.Game game, IEnumerable shots, IEnumerable allPlayers, IEnumerable allHoles ) : System
game BolfTracker.Models.Game
shots IEnumerable
allPlayers IEnumerable
allHoles IEnumerable
Résultat System

GetCurrentHole() public méthode

public GetCurrentHole ( ) : int
Résultat int

GetNextPlayer() public méthode

public GetNextPlayer ( ) : BolfTracker.Models.Player
Résultat BolfTracker.Models.Player

GetPointsAvailable() public méthode

public GetPointsAvailable ( int currentHole ) : int
currentHole int
Résultat int

HoleIsPushed() public méthode

public HoleIsPushed ( int hole ) : bool
hole int
Résultat bool

Property Details

Hole public_oe property

public string Hole
Résultat string

Player public_oe property

public string Player
Résultat string