logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityLeaderboardViewService

    Registry of leaderboard views keyed by Id, exposed to the IViewRouter as an IViewProvider so a menu option (or a ShowLeaderboardSignal) can show one by Id — mirroring the role UnityCascadeViewService plays for cascade views. No dedicated Business port for v1: nothing outside this Unity module consumes a leaderboard-view-specific member beyond IViewProvider/IService, unlike the composite-view registry which also exposes child-activation.

    Inheritance
    object
    UnityLeaderboardViewService
    Implements
    IService
    IFoundationSettings
    IViewProvider
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Serenity.Leaderboard.Infrastructure.Services
    Assembly: Serenity.UnityLeaderboard.Infrastructure.dll
    Syntax
    public sealed class UnityLeaderboardViewService : IService, IFoundationSettings, IViewProvider

    Constructors

    UnityLeaderboardViewService(string, ILogService)

    Creates the service.

    Declaration
    public UnityLeaderboardViewService(string id, ILogService logService)
    Parameters
    Type Name Description
    string id

    Service id.

    ILogService logService

    Logging service.

    Properties

    Guid

    Declaration
    public string Guid { get; set; }
    Property Value
    Type Description
    string

    Id

    Declaration
    public string Id { get; set; }
    Property Value
    Type Description
    string

    LogService

    Declaration
    public ILogService LogService { get; set; }
    Property Value
    Type Description
    ILogService

    Methods

    HasView(string)

    Declaration
    public bool HasView(string viewId)
    Parameters
    Type Name Description
    string viewId
    Returns
    Type Description
    bool

    HideView(string)

    Declaration
    public void HideView(string viewId)
    Parameters
    Type Name Description
    string viewId

    Register(string, IViewBase)

    Registers a built leaderboard view so it can be shown by its Id.

    Declaration
    public void Register(string id, IViewBase view)
    Parameters
    Type Name Description
    string id

    The id to register the view under.

    IViewBase view

    The view to register.

    ShowView(string)

    Declaration
    public void ShowView(string viewId)
    Parameters
    Type Name Description
    string viewId

    Implements

    IService
    IFoundationSettings
    IViewProvider
    In this article
    © 2026 Serenity. All Rights Reserved