Class GameSessionInstaller
Abstract base class for installing the GameSession service.
Implements
Inherited Members
Namespace: Serenity.GameSession.Installation.Installers
Assembly: Serenity.GameSession.Installation.dll
Syntax
public abstract class GameSessionInstaller : IInstaller
Remarks
Concrete implementations override Install(ILogService, ITimerService) to create the service, wiring in session state management and optional score tracking.
Constructors
GameSessionInstaller()
Declaration
protected GameSessionInstaller()
Fields
_service
Declaration
protected IGameSessionService _service
Field Value
| Type | Description |
|---|---|
| IGameSessionService | The installed game session service. |
Methods
GetService()
Gets the installed game session service.
Declaration
public IGameSessionService GetService()
Returns
| Type | Description |
|---|---|
| IGameSessionService | The installed IGameSessionService. |
Install(ILogService, ITimerService)
Installs the GameSession service.
Declaration
public abstract void Install(ILogService logService, ITimerService timerService)
Parameters
| Type | Name | Description |
|---|---|---|
| ILogService | logService | The logging service for diagnostic output. |
| ITimerService | timerService |