logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class SerenityHubCatalogLookup

    Resolves catalog entries back from the handles the Hub's persisted personal state carries: a recent's MenuPath (§8, the only handle the launcher has at launch time) or a favorite's Id. A handle that no longer matches any catalog entry (the tool was renamed or removed since it was recorded) is silently skipped rather than surfaced as a broken row — recents/favorites are a convenience list, not a guarantee.

    Inheritance
    object
    SerenityHubCatalogLookup
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Localization.Installation.Settings.Editor.Hub.Catalog
    Assembly: Serenity.UnityLocalization.Installation.Editor.dll
    Syntax
    public static class SerenityHubCatalogLookup

    Methods

    FindById(IReadOnlyList<SerenityHubToolEntry>, string)

    Finds a single catalog entry by its stable id, or null when absent.

    Declaration
    public static SerenityHubToolEntry FindById(IReadOnlyList<SerenityHubToolEntry> catalogEntries, string entryId)
    Parameters
    Type Name Description
    IReadOnlyList<SerenityHubToolEntry> catalogEntries
    string entryId
    Returns
    Type Description
    SerenityHubToolEntry

    ResolveByIds(IReadOnlyList<SerenityHubToolEntry>, IReadOnlyList<string>)

    Resolves each catalog entry id to its catalog entry, in order, skipping any that no longer exist.

    Declaration
    public static IReadOnlyList<SerenityHubToolEntry> ResolveByIds(IReadOnlyList<SerenityHubToolEntry> catalogEntries, IReadOnlyList<string> entryIds)
    Parameters
    Type Name Description
    IReadOnlyList<SerenityHubToolEntry> catalogEntries
    IReadOnlyList<string> entryIds
    Returns
    Type Description
    IReadOnlyList<SerenityHubToolEntry>

    ResolveByMenuPaths(IReadOnlyList<SerenityHubToolEntry>, IReadOnlyList<string>)

    Resolves each menu path to its catalog entry, in order, skipping any that no longer exist.

    Declaration
    public static IReadOnlyList<SerenityHubToolEntry> ResolveByMenuPaths(IReadOnlyList<SerenityHubToolEntry> catalogEntries, IReadOnlyList<string> menuPaths)
    Parameters
    Type Name Description
    IReadOnlyList<SerenityHubToolEntry> catalogEntries
    IReadOnlyList<string> menuPaths
    Returns
    Type Description
    IReadOnlyList<SerenityHubToolEntry>
    In this article
    © 2026 Serenity. All Rights Reserved