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