public AddLibraryDialog(IAddLibraryDialogViewModel viewModel)
 {
     DataContext = viewModel;
     InitializeComponent();
     InitializeLocationComboBox();
     DisablePathSelectionControls();
     viewModel.ProcessingStatusChanged += OnProcessingStatusChanged;
 }
Beispiel #2
0
 public AddLibraryCommand(IAddLibraryDialogViewModel viewModel)
 {
     ViewModel = viewModel;
 }
 public ICommand GetAddLibraryCommand(IAddLibraryDialogViewModel viewModel)
 {
     return(new AddLibraryCommand(viewModel));
 }