logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class SerenityHubMetricCard

    Renders a single SerenityHubStatusRow as a metric card on Home: state, title, message, and — when the row carries a deep link — a hint label into the tool that can fix it. Clicking anywhere on such a card follows that deep link; a card without one renders no hint and stays non-interactive (spec §3, UX feedback #4 — one interaction model, no per-card button).

    Inheritance
    object
    SerenityHubMetricCard
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Serenity.Localization.Installation.Settings.Editor.Hub.Components
    Assembly: Serenity.UnityLocalization.Installation.Editor.dll
    Syntax
    public sealed class SerenityHubMetricCard

    Constructors

    SerenityHubMetricCard(SerenityHubStatusRow, SerenityHubLauncher)

    Declaration
    public SerenityHubMetricCard(SerenityHubStatusRow row, SerenityHubLauncher launcher)
    Parameters
    Type Name Description
    SerenityHubStatusRow row
    SerenityHubLauncher launcher

    Properties

    HasDeepLink

    Declaration
    public bool HasDeepLink { get; }
    Property Value
    Type Description
    bool

    True when this row carries a deep link the user can act on.

    Root

    Declaration
    public VisualElement Root { get; }
    Property Value
    Type Description
    VisualElement

    Methods

    ActivateDeepLink()

    Follows this card's deep link, if it has one. A no-op when the row carries none.

    Declaration
    public void ActivateDeepLink()
    In this article
    © 2026 Serenity. All Rights Reserved