コード例 #1
0
        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];
        }
コード例 #2
0
ファイル: ReadConfigsCommand.cs プロジェクト: yanivru/Mabado
        public void Execute(object parameter)
        {
            ConnectionInfo connectionInfo = _serverSolutionConnectionStrings.Read();
            InstallationInfo installationInfo = _clientConfigFile.Read();

            LabInfo labInfo = new LabInfo(connectionInfo, installationInfo);

            _connectionResolverViewModel.FromConfigLabInfoViewModel = new LabInfoViewModel(labInfo);
        }
コード例 #3
0
 public LabInfoViewModel(LabInfo labInfo)
 {
     _labInfo = labInfo;
 }