C# Class Repository.GameStateService

显示文件 Open project: bouvet/BBR2015 Class Usage Examples

Public Methods

Method Description
Calculate ( ) : void
GameStateService ( DataContextFactory dataContextFactory, CurrentMatchProvider currentMatchProvider ) : System
Get ( string lagId ) : GameStateForLag
GetScoreboard ( ) : ScoreboardState

Private Methods

Method Description
LagScoreboardMatchInfo ( DataContext context, System.Guid matchId ) : ScoreboardMatch

Method Details

Calculate() public method

public Calculate ( ) : void
return void

GameStateService() public method

public GameStateService ( DataContextFactory dataContextFactory, CurrentMatchProvider currentMatchProvider ) : System
dataContextFactory Database.DataContextFactory
currentMatchProvider CurrentMatchProvider
return System

Get() public method

public Get ( string lagId ) : GameStateForLag
lagId string
return GameStateForLag

GetScoreboard() public method

public GetScoreboard ( ) : ScoreboardState
return ScoreboardState