Class UnityWaveInstallationStep
Installs the wave aggregate into the running composition.
Inherited Members
Namespace: Serenity.Wave.Installation.Installers
Assembly: Serenity.UnityWave.Installation.dll
Syntax
public class UnityWaveInstallationStep
Remarks
Every wave actor is spawned through the character spawn service, which the character step registers. That is why the install order declares this step after the character one. Without that service the wave service still installs and tracks waves, but it cannot spawn anything, and the step says so.
Constructors
UnityWaveInstallationStep()
Declaration
public UnityWaveInstallationStep()
Methods
Install(IUnityInstallationContext)
Builds the aggregate's installer, installs it and publishes its services.
Declaration
public UnityWaveInstaller Install(IUnityInstallationContext installationContext)
Parameters
| Type | Name | Description |
|---|---|---|
| IUnityInstallationContext | installationContext | The composition root this step installs into, and the source of the event dispatcher and the character spawn service the waves spawn through. |
Returns
| Type | Description |
|---|---|
| UnityWaveInstaller | The installer, so the composition root can keep its own reference to it. |