Culture<T>(T, string) Method
Sets the culture.
public static T Culture<T>(this T obj, string name) 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.
- string name
- The culture to set.
Returns
- T