Class UnityGameWeaponInstallationStep
Installs the game weapon aggregate into the running composition.
Inherited Members
Namespace: Serenity.GameWeapon.Installation.Installers
Assembly: Serenity.UnityGameWeapon.Installation.dll
Syntax
public class UnityGameWeaponInstallationStep
Remarks
The event dispatcher is optional: without one the service still fires and reloads, it only stops emitting its fired and reloaded signals.
Constructors
UnityGameWeaponInstallationStep()
Declaration
public UnityGameWeaponInstallationStep()
Methods
Install(IUnityInstallationContext)
Builds the aggregate's installer, installs it and publishes its services.
Declaration
public UnityGameWeaponInstaller Install(IUnityInstallationContext installationContext)
Parameters
| Type | Name | Description |
|---|---|---|
| IUnityInstallationContext | installationContext | The composition root this step installs into, and the source of the event dispatcher the service emits through. |
Returns
| Type | Description |
|---|---|
| UnityGameWeaponInstaller | The installer, so the composition root can keep its own reference to it. |