Class UnityCharacterInstallationStep
Installs the character aggregate into the running composition: the character service and the spawn service every character is instantiated and pooled through.
Inherited Members
Namespace: Serenity.Character.Installation.Installers
Assembly: Serenity.UnityCharacter.Installation.dll
Syntax
public class UnityCharacterInstallationStep
Remarks
Both services come from this one step because both are built from the same archetype discovery. Splitting them would load the labelled character configs twice and let the two services disagree about which archetypes exist.
Constructors
UnityCharacterInstallationStep()
Declaration
public UnityCharacterInstallationStep()
Methods
Install(IUnityInstallationContext)
Builds the aggregate's installer, installs it and publishes its services.
Declaration
public UnityCharacterInstaller Install(IUnityInstallationContext installationContext)
Parameters
| Type | Name | Description |
|---|---|---|
| IUnityInstallationContext | installationContext | The composition root this step installs into. |
Returns
| Type | Description |
|---|---|
| UnityCharacterInstaller | The installer, so the composition root can keep its own reference to it. |