logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class LeaderboardButtonActionRunner

    Runs one LeaderboardViewButton's LeaderboardButtonAction when it is submitted. Show View mirrors UnityMenuView.ExecuteTransitionateToView's history bookkeeping (push the owner before navigating) through the same direct IViewRouter calls UnityLeaderboardView.ReturnToOpener already uses; Dispatch Signal mirrors UnityMenuSubmitService.DispatchOptionSignal.

    Inheritance
    object
    LeaderboardButtonActionRunner
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Serenity.Leaderboard.Infrastructure.Views
    Assembly: Serenity.UnityLeaderboard.Infrastructure.dll
    Syntax
    public sealed class LeaderboardButtonActionRunner

    Constructors

    LeaderboardButtonActionRunner(IViewRouter, IViewBrowserService, IEventDispatcherService, IViewBase, Action, ILogService)

    Declaration
    public LeaderboardButtonActionRunner(IViewRouter viewRouter, IViewBrowserService viewBrowserService, IEventDispatcherService eventDispatcherService, IViewBase owner, Action returnToOpener, ILogService logService)
    Parameters
    Type Name Description
    IViewRouter viewRouter

    Router used to show a Show-View button's target, and to guard it is resolvable first.

    IViewBrowserService viewBrowserService

    Navigation history a Show-View button's owner is pushed onto before navigating.

    IEventDispatcherService eventDispatcherService

    Dispatcher a Dispatch-Signal button's signals are sent through.

    IViewBase owner

    The view hosting this button bar; pushed onto history when a Show-View button navigates away.

    Action returnToOpener

    Invoked for a Back button; the same routine UnityLeaderboardView's own Cancel input calls.

    ILogService logService

    Logging service.

    Methods

    Run(LeaderboardViewButton)

    Runs button's authored action. A null button is a no-op.

    Declaration
    public void Run(LeaderboardViewButton button)
    Parameters
    Type Name Description
    LeaderboardViewButton button
    In this article
    © 2026 Serenity. All Rights Reserved