Class LocalizableExtensions
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
localizedILocalizable<T>- The localized value holder.
cultureCultureInfo- 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.