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
SerenityHubCatalogLookup
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
Returns
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
Returns
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
Returns