private void RunTests(bool alone, string id, string url, string[] dlls) { Deployment.Current.Dispatcher.BeginInvoke(Start); if (alone) { _results = _runTest.RunAlone(id, dlls).ToListJson(); } else { _runTest.Run(id, url, dlls); } Deployment.Current.Dispatcher.BeginInvoke(End); }