logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class GameSessionInstaller

    Abstract base class for installing the GameSession service.

    Inheritance
    object
    GameSessionInstaller
    Implements
    IInstaller
    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.GameSession.Installation.dll
    Syntax
    public abstract class GameSessionInstaller : IInstaller
    Remarks

    Concrete implementations override Install(ILogService, ITimerService) to create the service, wiring in session state management and optional score tracking.

    Constructors

    GameSessionInstaller()

    Declaration
    protected GameSessionInstaller()

    Fields

    _service

    Declaration
    protected IGameSessionService _service
    Field Value
    Type Description
    IGameSessionService

    The installed game session service.

    Methods

    GetService()

    Gets the installed game session service.

    Declaration
    public IGameSessionService GetService()
    Returns
    Type Description
    IGameSessionService

    The installed IGameSessionService.

    Install(ILogService, ITimerService)

    Installs the GameSession service.

    Declaration
    public abstract void Install(ILogService logService, ITimerService timerService)
    Parameters
    Type Name Description
    ILogService logService

    The logging service for diagnostic output.

    ITimerService timerService

    Implements

    IInstaller
    In this article
    © 2026 Serenity. All Rights Reserved