Class UnityStageInstallationStep
Installs the stage aggregate into the running composition.
Inherited Members
Namespace: Serenity.Stage.Installation.Installers
Assembly: Serenity.UnityStage.Installation.dll
Syntax
public class UnityStageInstallationStep
Remarks
The stage service parents every stage it loads under the game wrapper, so the wrapper is required. A project without one gets a warning and no stage service rather than an exception, because a project is allowed to boot without the stage module.
Constructors
UnityStageInstallationStep()
Declaration
public UnityStageInstallationStep()
Methods
Install(IUnityInstallationContext)
Builds the aggregate's installer, installs it and publishes its services.
Declaration
public UnityStageInstaller Install(IUnityInstallationContext installationContext)
Parameters
| Type | Name | Description |
|---|---|---|
| IUnityInstallationContext | installationContext | The composition root this step installs into, and the source of the game wrapper and the factory that wraps it. |
Returns
| Type | Description |
|---|---|
| UnityStageInstaller | The installer, or null when the game wrapper or the view element factory is missing. |