The ThreadCultureScope type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| ThreadCultureScope(CultureInfo) |
Constructs a new culture scope, setting the threads CurrentCulture and resetting when this is disposed. The CurrentUiCulture is not affected.
| |
| ThreadCultureScope(CultureInfo, CultureInfo) |
Constructs a new culture scope, setting the threads CurrentCulture and CurrentUiCulture and resetting when this is disposed.
|
Methods
| Name | Description | |
|---|---|---|
| Dispose |
Return thread culture settings to their original values.
|
Properties
| Name | Description | |
|---|---|---|
| Culture |
The culture this class was constructed to use
| |
| UiCulture |
The UI culture this class was constructed to use or null if none were specified.
|