Class UnityHittableInstallationStep
Installs the hittable aggregate into the running composition.
Inherited Members
Namespace: Serenity.Hittable.Installation.Installers
Assembly: Serenity.UnityHittable.Installation.dll
Syntax
public class UnityHittableInstallationStep
Remarks
The event dispatcher is optional: without one the service still tracks health, it only stops broadcasting its hit and destroyed signals.
Constructors
UnityHittableInstallationStep()
Declaration
public UnityHittableInstallationStep()
Methods
Install(IUnityInstallationContext)
Builds the aggregate's installer, installs it and publishes its services.
Declaration
public UnityHittableInstaller 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 broadcasts through. |
Returns
| Type | Description |
|---|---|
| UnityHittableInstaller | The installer, so the composition root can keep its own reference to it. |