public CurrentExecutionViewModel(TestsExecutionViewModel testsExecutionViewModel)
 {
     TestsExecutionViewModel  = testsExecutionViewModel;
     AlreadyCreatedWorkspaces = new List <string>();
     MessagesToBeDisplayed    = new ConcurrentQueue <string>();
     CommandsToBeExecuted     = new List <string>();
     CurrentSelectedMachine   = TestsExecutionViewModel.GetCurrentlySelectedExecutionMachine();
     CurrentAgentMachineExecutionIpSettings  = new IpAddressSettings(CurrentSelectedMachine.Ip, "8888");
     CurrentAgentMachineMsBuildLogIpSettings = new IpAddressSettings(CurrentSelectedMachine.Ip, "8889");
     GenerateMessagesToBeSentToAgent();
 }
 public TestsExecutionView()
 {
     InitializeComponent();
     TestsExecutionViewModel = new TestsExecutionViewModel(MainWindow.AdminProjectSettingsViewModel);
     mainGrid.DataContext    = TestsExecutionViewModel.GetTeams();
 }