private void ConnectionSucceeded(ConnectionInfo connectionInfo)
        {
            InstallationInfo installationInfo = _labDetailsProvider.GetDetails(connectionInfo);

            LabInfo labInfo = new LabInfo(connectionInfo, installationInfo);

            _connectionResolverViewModel.LabInfoViewModels.Add(new LabInfoViewModel(labInfo));
            _connectionResolverViewModel.SelectedLabInfoViewModel = _connectionResolverViewModel.LabInfoViewModels[0];
        }
Beispiel #2
0
        public void Execute(object parameter)
        {
            ConnectionInfo connectionInfo = _serverSolutionConnectionStrings.Read();
            InstallationInfo installationInfo = _clientConfigFile.Read();

            LabInfo labInfo = new LabInfo(connectionInfo, installationInfo);

            _connectionResolverViewModel.FromConfigLabInfoViewModel = new LabInfoViewModel(labInfo);
        }
 public LabInfoViewModel(LabInfo labInfo)
 {
     _labInfo = labInfo;
 }