CultureScope¶
Namespace:
SideXP.Core| Inherits from:IDisposable
Sets the culture of a thread. This is meant to be used in a using statement.
Constructors¶
CultureScope()¶
Applies InvariantCulture to the current thread.
CultureScope(CultureInfo)¶
Applies the given culture to the current thread.
Parameters
culture: The culture to apply.
CultureScope(Thread)¶
Applies InvariantCulture to the given thread.
CultureScope(Thread, CultureInfo)¶
Applies the given culture on the given thread.
Parameters
culture: The culture to apply.thread: The thread you want to set the culture.
Properties¶
Invariant¶
Applies InvariantCulture to the current thread.
Methods¶
Dispose()¶
Called when this object is disposed.