@@ -23,7 +23,7 @@ public sealed class CodeExplorerViewModel : ViewModelBase, IDisposable
2323 private readonly FolderHelper _folderHelper ;
2424 private readonly RubberduckParserState _state ;
2525
26- public CodeExplorerViewModel ( FolderHelper folderHelper , RubberduckParserState state , List < ICommand > commands )
26+ public CodeExplorerViewModel ( FolderHelper folderHelper , RubberduckParserState state , List < CommandBase > commands )
2727 {
2828 _folderHelper = folderHelper ;
2929 _state = state ;
@@ -143,14 +143,14 @@ public bool SortBySelection
143143 }
144144 }
145145
146- private readonly ICommand _copyResultsCommand ;
147- public ICommand CopyResultsCommand { get { return _copyResultsCommand ; } }
146+ private readonly CommandBase _copyResultsCommand ;
147+ public CommandBase CopyResultsCommand { get { return _copyResultsCommand ; } }
148148
149- private readonly ICommand _setNameSortCommand ;
150- public ICommand SetNameSortCommand { get { return _setNameSortCommand ; } }
149+ private readonly CommandBase _setNameSortCommand ;
150+ public CommandBase SetNameSortCommand { get { return _setNameSortCommand ; } }
151151
152- private readonly ICommand _setSelectionSortCommand ;
153- public ICommand SetSelectionSortCommand { get { return _setSelectionSortCommand ; } }
152+ private readonly CommandBase _setSelectionSortCommand ;
153+ public CommandBase SetSelectionSortCommand { get { return _setSelectionSortCommand ; } }
154154
155155 private bool _sortByType = true ;
156156 public bool SortByType
@@ -419,64 +419,64 @@ private void SetErrorState(CodeExplorerItemViewModel itemNode, VBComponent compo
419419 }
420420 }
421421
422- private readonly ICommand _refreshCommand ;
423- public ICommand RefreshCommand { get { return _refreshCommand ; } }
422+ private readonly CommandBase _refreshCommand ;
423+ public CommandBase RefreshCommand { get { return _refreshCommand ; } }
424424
425- private readonly ICommand _refreshComponentCommand ;
426- public ICommand RefreshComponentCommand { get { return _refreshComponentCommand ; } }
425+ private readonly CommandBase _refreshComponentCommand ;
426+ public CommandBase RefreshComponentCommand { get { return _refreshComponentCommand ; } }
427427
428- private readonly ICommand _navigateCommand ;
429- public ICommand NavigateCommand { get { return _navigateCommand ; } }
428+ private readonly CommandBase _navigateCommand ;
429+ public CommandBase NavigateCommand { get { return _navigateCommand ; } }
430430
431- private readonly ICommand _addTestModuleCommand ;
432- public ICommand AddTestModuleCommand { get { return _addTestModuleCommand ; } }
431+ private readonly CommandBase _addTestModuleCommand ;
432+ public CommandBase AddTestModuleCommand { get { return _addTestModuleCommand ; } }
433433
434- private readonly ICommand _addStdModuleCommand ;
435- public ICommand AddStdModuleCommand { get { return _addStdModuleCommand ; } }
434+ private readonly CommandBase _addStdModuleCommand ;
435+ public CommandBase AddStdModuleCommand { get { return _addStdModuleCommand ; } }
436436
437- private readonly ICommand _addClassModuleCommand ;
438- public ICommand AddClassModuleCommand { get { return _addClassModuleCommand ; } }
437+ private readonly CommandBase _addClassModuleCommand ;
438+ public CommandBase AddClassModuleCommand { get { return _addClassModuleCommand ; } }
439439
440- private readonly ICommand _addUserFormCommand ;
441- public ICommand AddUserFormCommand { get { return _addUserFormCommand ; } }
440+ private readonly CommandBase _addUserFormCommand ;
441+ public CommandBase AddUserFormCommand { get { return _addUserFormCommand ; } }
442442
443- private readonly ICommand _openDesignerCommand ;
444- public ICommand OpenDesignerCommand { get { return _openDesignerCommand ; } }
443+ private readonly CommandBase _openDesignerCommand ;
444+ public CommandBase OpenDesignerCommand { get { return _openDesignerCommand ; } }
445445
446- private readonly ICommand _openProjectPropertiesCommand ;
447- public ICommand OpenProjectPropertiesCommand { get { return _openProjectPropertiesCommand ; } }
446+ private readonly CommandBase _openProjectPropertiesCommand ;
447+ public CommandBase OpenProjectPropertiesCommand { get { return _openProjectPropertiesCommand ; } }
448448
449- private readonly ICommand _renameCommand ;
450- public ICommand RenameCommand { get { return _renameCommand ; } }
449+ private readonly CommandBase _renameCommand ;
450+ public CommandBase RenameCommand { get { return _renameCommand ; } }
451451
452- private readonly ICommand _indenterCommand ;
453- public ICommand IndenterCommand { get { return _indenterCommand ; } }
452+ private readonly CommandBase _indenterCommand ;
453+ public CommandBase IndenterCommand { get { return _indenterCommand ; } }
454454
455- private readonly ICommand _findAllReferencesCommand ;
456- public ICommand FindAllReferencesCommand { get { return _findAllReferencesCommand ; } }
455+ private readonly CommandBase _findAllReferencesCommand ;
456+ public CommandBase FindAllReferencesCommand { get { return _findAllReferencesCommand ; } }
457457
458- private readonly ICommand _findAllImplementationsCommand ;
459- public ICommand FindAllImplementationsCommand { get { return _findAllImplementationsCommand ; } }
458+ private readonly CommandBase _findAllImplementationsCommand ;
459+ public CommandBase FindAllImplementationsCommand { get { return _findAllImplementationsCommand ; } }
460460
461- private readonly ICommand _importCommand ;
462- public ICommand ImportCommand { get { return _importCommand ; } }
461+ private readonly CommandBase _importCommand ;
462+ public CommandBase ImportCommand { get { return _importCommand ; } }
463463
464- private readonly ICommand _exportCommand ;
465- public ICommand ExportCommand { get { return _exportCommand ; } }
464+ private readonly CommandBase _exportCommand ;
465+ public CommandBase ExportCommand { get { return _exportCommand ; } }
466466
467- private readonly ICommand _removeCommand ;
468- public ICommand RemoveCommand { get { return _removeCommand ; } }
467+ private readonly CommandBase _removeCommand ;
468+ public CommandBase RemoveCommand { get { return _removeCommand ; } }
469469
470- private readonly ICommand _printCommand ;
471- public ICommand PrintCommand { get { return _printCommand ; } }
470+ private readonly CommandBase _printCommand ;
471+ public CommandBase PrintCommand { get { return _printCommand ; } }
472472
473- private readonly ICommand _commitCommand ;
474- public ICommand CommitCommand { get { return _commitCommand ; } }
473+ private readonly CommandBase _commitCommand ;
474+ public CommandBase CommitCommand { get { return _commitCommand ; } }
475475
476- private readonly ICommand _undoCommand ;
477- public ICommand UndoCommand { get { return _undoCommand ; } }
476+ private readonly CommandBase _undoCommand ;
477+ public CommandBase UndoCommand { get { return _undoCommand ; } }
478478
479- private readonly ICommand _externalRemoveCommand ;
479+ private readonly CommandBase _externalRemoveCommand ;
480480
481481 // this is a special case--we have to reset SelectedItem to prevent a crash
482482 private void ExecuteRemoveComand ( object param )
0 commit comments