logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityGameSessionInstallationStep

    Installs the game session aggregate into the running composition.

    Inheritance
    object
    UnityGameSessionInstallationStep
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.GameSession.Installation.Installers
    Assembly: Serenity.UnityGameSession.Installation.dll
    Syntax
    public class UnityGameSessionInstallationStep
    Remarks

    A session's elapsed time is a timer the timer service creates, so the step reads the timer service the InstallTimer step registered, and the install order declares this step after that one. Without a timer service the installer would throw, so the step installs nothing and says which boot task is missing.

    Constructors

    UnityGameSessionInstallationStep()

    Declaration
    public UnityGameSessionInstallationStep()

    Methods

    Install(IUnityInstallationContext)

    Builds the aggregate's installer, installs it and publishes its services.

    Declaration
    public UnityGameSessionInstaller Install(IUnityInstallationContext installationContext)
    Parameters
    Type Name Description
    IUnityInstallationContext installationContext

    The composition root this step installs into, and the locator the timer service is read from.

    Returns
    Type Description
    UnityGameSessionInstaller

    The installer, or null when no timer service is installed.

    In this article
    © 2026 Serenity. All Rights Reserved