Class AchievementInstaller
Abstract base class for installing the Achievements service.
Implements
Inherited Members
Namespace: Serenity.Achievements.Installation.Installers
Assembly: Serenity.Achievements.Installation.dll
Syntax
public abstract class AchievementInstaller : IInstaller
Remarks
Concrete implementations override Install(ILogService) to create the service, providing the achievement store, the platform gateway and the registry of declared achievements.
Constructors
AchievementInstaller()
Declaration
protected AchievementInstaller()
Fields
_service
Declaration
protected IAchievementService _service
Field Value
| Type | Description |
|---|---|
| IAchievementService | The installed achievement service. |
Methods
GetService()
Gets the installed achievement service.
Declaration
public IAchievementService GetService()
Returns
| Type | Description |
|---|---|
| IAchievementService | The installed IAchievementService. |
Install(ILogService)
Installs the Achievements service.
Declaration
public abstract void Install(ILogService logService)
Parameters
| Type | Name | Description |
|---|---|---|
| ILogService | logService | The logging service for diagnostic output. |