C# Class BusinessLogic.Models.Games.Validation.PlayerRankValidator

Mostrar archivo Open project: NemeStats/NemeStats Class Usage Examples

Public Methods

Method Description
ValidatePlayerRanks ( List playerRanks ) : void

Private Methods

Method Description
ValidateNoPlayerHasARankLessThanOne ( List playerRanks ) : void
ValidateThatAllGameRanksAreSet ( List playerRanks ) : void
ValidateThatNoPlayerHasARankGreaterThanTheNumberOfPlayers ( List playerRanks ) : void
ValidateThatPlayerRanksIsNotNull ( List playerRanks ) : void
ValidateThatThereAreAtLeastTwoPlayers ( List playerRanks ) : void
ValidateThatThereAreNoMoreThanTwentyFivePlayers ( List playerRanks ) : void

Method Details

ValidatePlayerRanks() public static method

public static ValidatePlayerRanks ( List playerRanks ) : void
playerRanks List
return void