Table of Contents

Interface ILocalizationSet

Namespace
combit.Reporting.Localization
Assembly
combit.ListLabel31.CrossPlatform.dll

Represents a set of localized display names for original identifiers, supporting culture-specific translations.

public interface ILocalizationSet

Properties

IsEmpty

Gets whether the set is empty.

bool IsEmpty { get; }

Property Value

bool

Methods

Add(string, string)

Adds a localized display name for invariant culture.

void Add(string originalName, string displayName)

Parameters

originalName string

The original identifier.

displayName string

The localized display name.

Remarks

The provided display name is sanitized before being stored.

Add(string, string, string)

Adds a localized display name for a specific culture.

void Add(string originalName, string displayName, string cultureName)

Parameters

originalName string

The original identifier.

displayName string

The localized display name.

cultureName string

The culture name (e.g. "en-US", "de-DE").

Remarks

The provided display name is sanitized before being stored.

Clear()

Removes all entries.

void Clear()

Contains(string, string)

Checks if a localization exists for the specified name and culture.

bool Contains(string originalName, string cultureName)

Parameters

originalName string

The original identifier.

cultureName string

The culture name.

Returns

bool

true if found; otherwise, false.