C# Class UI.HtmlHelpers.PlayedGameHelper

显示文件 Open project: NemeStats/NemeStats

Public Methods

Method Description
GameResults ( this htmlHelper, GameResultViewModel playerGameResultDetails, WinnerTypes winnerType ) : System.Web.Mvc.MvcHtmlString

Private Methods

Method Description
Validate ( GameResultViewModel playerGameResultDetails ) : void
ValidatePlayerGameResultsDetailsAreNotNull ( GameResultViewModel playerGameResultDetails ) : void

Method Details

GameResults() public static method

public static GameResults ( this htmlHelper, GameResultViewModel playerGameResultDetails, WinnerTypes winnerType ) : System.Web.Mvc.MvcHtmlString
htmlHelper this
playerGameResultDetails UI.Models.PlayedGame.GameResultViewModel
winnerType WinnerTypes
return System.Web.Mvc.MvcHtmlString