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; }
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; }
public void Setup() { _convert = new JsonConverter(); }