Ejemplo n.º 1
0
 internal NpmPackageInstallWindow(INpmController controller, NpmWorker npmWorker, DependencyType dependencyType = DependencyType.Standard)
 {
     this.DataContext             = this.viewModel = new NpmPackageInstallViewModel(npmWorker, this.Dispatcher);
     this.viewModel.NpmController = controller;
     InitializeComponent();
     this.DependencyComboBox.SelectedIndex = (int)dependencyType;
 }
Ejemplo n.º 2
0
 internal NpmPackageInstallWindow(INpmController controller, NpmOutputViewModel executeVm, DependencyType dependencyType = DependencyType.Standard)
 {
     DataContext       = _vm = new NpmPackageInstallViewModel(executeVm, Dispatcher);
     _vm.NpmController = controller;
     InitializeComponent();
     DependencyComboBox.SelectedIndex = (int)dependencyType;
 }
 internal NpmPackageInstallWindow(INpmController controller, NpmOutputViewModel executeVm, DependencyType dependencyType = DependencyType.Standard)
 {
     DataContext = _vm = new NpmPackageInstallViewModel(executeVm, Dispatcher);
     _vm.NpmController = controller;
     InitializeComponent();
     DependencyComboBox.SelectedIndex = (int)dependencyType;
 }