Class GameSpawnerInstaller
Abstract base class for installing the GameSpawner service.
Implements
Inherited Members
Namespace: Serenity.GameSpawner.Installation.Installers
Assembly: Serenity.GameSpawner.Installation.dll
Syntax
public abstract class GameSpawnerInstaller : IInstaller
Remarks
Concrete implementations override Install(ILogService) to create the service, providing a spawn factory for entity instantiation and pooling.
Constructors
GameSpawnerInstaller()
Declaration
protected GameSpawnerInstaller()
Fields
_service
Declaration
protected IGameSpawnerService _service
Field Value
| Type | Description |
|---|---|
| IGameSpawnerService | The installed game spawner service. |
Methods
GetService()
Gets the installed game spawner service.
Declaration
public IGameSpawnerService GetService()
Returns
| Type | Description |
|---|---|
| IGameSpawnerService | The installed IGameSpawnerService. |
Install(ILogService)
Installs the GameSpawner service.
Declaration
public abstract void Install(ILogService logService)
Parameters
| Type | Name | Description |
|---|---|---|
| ILogService | logService | The logging service for diagnostic output. |