Class UnityCompositeViewInstallationStep
Builds and registers composite custom views, hosting menus by id via the menu service. Runs right after the menus are installed so a composite can resolve any menu children it embeds.
Inherited Members
Namespace: Serenity.Menu.Installation.Installers
Assembly: Serenity.UnityMenu.Installation.dll
Syntax
public class UnityCompositeViewInstallationStep
Remarks
This lives with the menu aggregate rather than the UI one because it is the menu service that resolves a composite's hosted children. The UI installation assembly does not see the menu one, and giving it that reference would close a cycle between the UI, menu and game-mode assemblies.
Constructors
UnityCompositeViewInstallationStep()
Declaration
public UnityCompositeViewInstallationStep()
Methods
Install(IUnityInstallationContext)
Builds the composite-view installer, installs it and publishes its service.
Declaration
public UnityCompositeViewInstaller Install(IUnityInstallationContext installationContext)
Parameters
| Type | Name | Description |
|---|---|---|
| IUnityInstallationContext | installationContext | The composition root this step installs into. |
Returns
| Type | Description |
|---|---|
| UnityCompositeViewInstaller | The installer, or null when an upstream step it depends on did not run. |