C# Class Repository.GameService

Afficher le fichier Open project: bouvet/BBR2015

Méthodes publiques

Méthode 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

Méthode 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 méthode

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
Résultat System

Nullstill() public méthode

public Nullstill ( string lagId ) : void
lagId string
Résultat void

RegistrerNyPost() public méthode

public RegistrerNyPost ( string deltakerId, string lagId, string postkode, string bruktVåpen ) : void
deltakerId string
lagId string
postkode string
bruktVåpen string
Résultat void