C# Class UI.Transformations.PlayedGameDetailsViewModelBuilder

Inheritance: IPlayedGameDetailsViewModelBuilder
ファイルを表示 Open project: NemeStats/NemeStats Class Usage Examples

Public Methods

Method Description
Build ( PlayedGame playedGame, ApplicationUser currentUser, bool showPointsScored = false ) : PlayedGameDetailsViewModel
PlayedGameDetailsViewModelBuilder ( IGameResultViewModelBuilder playerGameResultBuilder ) : BusinessLogic.Models

Private Methods

Method Description
ValidateArguments ( PlayedGame playedGame ) : void

Method Details

Build() public method

public Build ( PlayedGame playedGame, ApplicationUser currentUser, bool showPointsScored = false ) : PlayedGameDetailsViewModel
playedGame PlayedGame
currentUser ApplicationUser
showPointsScored bool
return UI.Models.PlayedGame.PlayedGameDetailsViewModel

PlayedGameDetailsViewModelBuilder() public method

public PlayedGameDetailsViewModelBuilder ( IGameResultViewModelBuilder playerGameResultBuilder ) : BusinessLogic.Models
playerGameResultBuilder IGameResultViewModelBuilder
return BusinessLogic.Models