Class GameWeaponInstaller
Abstract base class for installing the GameWeapon service.
Implements
Inherited Members
Namespace: Serenity.GameWeapon.Installation.Installers
Assembly: Serenity.GameWeapon.Installation.dll
Syntax
public abstract class GameWeaponInstaller : IInstaller
Remarks
Concrete implementations override Install(ILogService) to create and configure the weapon service with engine-specific dependencies.
Constructors
GameWeaponInstaller()
Declaration
protected GameWeaponInstaller()
Fields
_service
Declaration
protected IGameWeaponService _service
Field Value
| Type | Description |
|---|---|
| IGameWeaponService | The installed game weapon service. |
Methods
GetService()
Gets the installed game weapon service.
Declaration
public IGameWeaponService GetService()
Returns
| Type | Description |
|---|---|
| IGameWeaponService | The installed IGameWeaponService. |
Install(ILogService)
Installs the GameWeapon service.
Declaration
public abstract void Install(ILogService logService)
Parameters
| Type | Name | Description |
|---|---|---|
| ILogService | logService | The logging service for diagnostic output. |