Skip to content

ILocalizable

Namespace: Bogoware.Localization

Marker interface — opt-in for localization. Any type implementing this interface can be formatted by ILocalizationFormatter.

public interface ILocalizable

Remarks:

Implement this interface on types that should participate in the localization pipeline. By itself, ILocalizable carries no members — it simply marks a type as eligible for the ILocalizationFormatter resolution chain.

For self-localizing types, also implement ILocalizationProvider. For external localization via dependency injection, register an ILocalizationProvider<T>.