Last change
on this file since 5163 was
4068,
checked in by swagner, 14 years ago
|
Sorted usings and removed unused usings in entire solution (#1094)
|
File size:
440 bytes
|
Rev | Line | |
---|
[4068] | 1 | using System.Globalization;
|
---|
[2645] | 2 | using System.Threading;
|
---|
| 3 |
|
---|
[4068] | 4 | namespace SVM {
|
---|
| 5 | internal static class TemporaryCulture {
|
---|
| 6 | private static CultureInfo _culture;
|
---|
[2645] | 7 |
|
---|
[4068] | 8 | public static void Start() {
|
---|
| 9 | _culture = Thread.CurrentThread.CurrentCulture;
|
---|
| 10 | Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;
|
---|
| 11 | }
|
---|
[2645] | 12 |
|
---|
[4068] | 13 | public static void Stop() {
|
---|
| 14 | Thread.CurrentThread.CurrentCulture = _culture;
|
---|
[2645] | 15 | }
|
---|
[4068] | 16 | }
|
---|
[2645] | 17 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.