C# Class Repository.GameService

Show file Open project: bouvet/BBR2015

Public Methods

Method Description
GameService ( DataContextFactory dataContextFactory, GameStateService gameState, CurrentMatchProvider currentMatchProvider, GameEventPublisher eventPublisher, OverridableSettings settings ) : System
Nullstill ( string lagId ) : void
RegistrerNyPost ( string deltakerId, string lagId, string postkode, string bruktVåpen ) : void

Private Methods

Method Description
KjørRiggedeVåpenOgReturnerPoeng ( PostIMatch post, int poeng, string bruktVåpen, string lagId, string deltakerId ) : int
RegistrerNyPostSynkront ( string deltakerId, string lagId, string postkode, string bruktVåpen ) : void

Method Details

GameService() public method

public GameService ( DataContextFactory dataContextFactory, GameStateService gameState, CurrentMatchProvider currentMatchProvider, GameEventPublisher eventPublisher, OverridableSettings settings ) : System
dataContextFactory Database.DataContextFactory
gameState GameStateService
currentMatchProvider CurrentMatchProvider
eventPublisher GameEventPublisher
settings Database.OverridableSettings
return System

Nullstill() public method

public Nullstill ( string lagId ) : void
lagId string
return void

RegistrerNyPost() public method

public RegistrerNyPost ( string deltakerId, string lagId, string postkode, string bruktVåpen ) : void
deltakerId string
lagId string
postkode string
bruktVåpen string
return void