Class UnityGameSessionInstallationStep
Installs the game session aggregate into the running composition.
Inherited Members
Namespace: Serenity.GameSession.Installation.Installers
Assembly: Serenity.UnityGameSession.Installation.dll
Syntax
public class UnityGameSessionInstallationStep
Remarks
A session's elapsed time is a timer the timer service creates, so the step reads the timer service the InstallTimer step registered, and the install order declares this step after that one. Without a timer service the installer would throw, so the step installs nothing and says which boot task is missing.
Constructors
UnityGameSessionInstallationStep()
Declaration
public UnityGameSessionInstallationStep()
Methods
Install(IUnityInstallationContext)
Builds the aggregate's installer, installs it and publishes its services.
Declaration
public UnityGameSessionInstaller Install(IUnityInstallationContext installationContext)
Parameters
| Type | Name | Description |
|---|---|---|
| IUnityInstallationContext | installationContext | The composition root this step installs into, and the locator the timer service is read from. |
Returns
| Type | Description |
|---|---|
| UnityGameSessionInstaller | The installer, or null when no timer service is installed. |