Table of Contents

Class LibraryText

Namespace
EncDotNet.S100.Collections.Library
Assembly
EncDotNet.S100.Collections.dll

The Library's user-visible text (LibraryText.resx): item tags and details, source status lines and names, shared by every host so the viewer's Library panel and an MCP host describe items in the same words (#792).

public static class LibraryText
Inheritance
LibraryText
Inherited Members

Remarks

Lookups use CurrentUICulture; a host that keeps its own UI culture passes it to Find(string, CultureInfo?). Hosts with their own string tables fall back to this one for the Library's keys.

Methods

Find(string, CultureInfo?)

The string named name, or null when there is none.

public static string? Find(string name, CultureInfo? culture = null)

Parameters

name string

The resource key, e.g. Library_Tag_Queued.

culture CultureInfo

The culture to look up; CurrentUICulture when null.

Returns

string

PropertyLabel(string)

The curated label for an item property key ("riverMiles" → "River miles"), or null.

public static string? PropertyLabel(string key)

Parameters

key string

The property key.

Returns

string

SpecDisplayName(string)

The curated product title for a spec code ("S-101" → "Electronic Navigational Chart"), or null.

public static string? SpecDisplayName(string spec)

Parameters

spec string

The product specification code.

Returns

string