コード例 #1
0
 public void Setup()
 {
     _convert = new JsonConverter();
     //pt-BR using comma so this checks that we are not using the current culture (json spec requires dot)
     Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("pt-BR");
     Thread.CurrentThread.CurrentCulture   = Thread.CurrentThread.CurrentUICulture;
 }
コード例 #2
0
 public void Setup()
 {
     _convert = new JsonConverter();
     System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("en-us");
     System.Threading.Thread.CurrentThread.CurrentCulture   = System.Threading.Thread.CurrentThread.CurrentUICulture;
 }
コード例 #3
0
 public void Setup()
 {
     _convert = new JsonConverter();
 }