C# Class UI.Transformations.GameResultViewModelBuilder

Inheritance: IGameResultViewModelBuilder
Mostrar archivo Open project: NemeStats/NemeStats Class Usage Examples

Public Methods

Method Description
Build ( PlayerGameResult playerGameResult, bool showPointsScored = false ) : GameResultViewModel

Private Methods

Method Description
Validate ( PlayerGameResult playerGameResult ) : void
ValidateGameDefinitionIsNotNull ( PlayerGameResult playerGameResult ) : void
ValidatePlayedGameIsNotNull ( PlayerGameResult playerGameResult ) : void
ValidatePlayerGameResultIsNotNull ( PlayerGameResult playerGameResult ) : void
ValidatePlayerIsNotNull ( PlayerGameResult playerGameResult ) : void

Method Details

Build() public method

public Build ( PlayerGameResult playerGameResult, bool showPointsScored = false ) : GameResultViewModel
playerGameResult PlayerGameResult
showPointsScored bool
return UI.Models.PlayedGame.GameResultViewModel