Culture<T>(T, CultureInfo) Method
Sets the culture.
public static T Culture<T>(this T obj, CultureInfo culture) where T : class, IHasCulture
- Namespace
- Spectre
.Console - Containing Type
- HasCultureExtensions
Parameters
-
T
- An object type with a culture.
Parameters
- T obj
- The object to set the culture for.
- CultureInfo culture
- The culture to set.
Returns
- T