Table of Contents

Class LocalizableExtensions

Namespace
Cryville.EEW
Assembly
Cryville.EEW.dll
Provides a set of static methods related to the ILocalizable<T> interface.
public static class LocalizableExtensions
Inheritance
LocalizableExtensions
Inherited Members

Methods

GetLocalizedValue<T>(ILocalizable<T>, CultureInfo)

Gets the value of a culture.
public static Localized<T> GetLocalizedValue<T>(this ILocalizable<T> localized, CultureInfo culture)

Parameters

localized ILocalizable<T>
The localized value holder.
culture CultureInfo
The preferred culture of the value.

Returns

Localized<T>
An instance of the Localized<T> struct representing the already localized value with its culture.

Type Parameters

T
The type of the value.