public SearchViewModel(ProjectShellViewModel projectShell) : base(projectShell) { Caption = SR.Search; _searchAction = (Action)OnSearch; _searchCompletedAction = (Action)OnSearchCompleted; _addItemsAction = (Action <List <SearchItem> >)AddItems; _items = new ObservableCollection <SearchItem>(); ProjectShell.HierarchyChanged += OnHierarchyChanged; }
internal NodeViewModel(ViewModel parent) : base(parent) { var parentNode = parent as NodeViewModel; if (parentNode != null) { _indent = parentNode._indent + 1; _projectShell = parentNode._projectShell; } else { // Project _indent = 0; _projectShell = (ProjectShellViewModel)parent; } }
public DecodeStackTraceViewModel(ProjectShellViewModel projectShell) : base(projectShell) { Caption = SR.DecodeStackTrace; _decodeCommand = new DelegateCommand(Decode); }
public BuildViewModel(ProjectShellViewModel projectShell) : base(projectShell) { _projectShellViewModel = projectShell; }
internal ToolViewModel(ProjectShellViewModel projectShell) : base(projectShell) { _projectShell = projectShell; _closeCommand = new DelegateCommand(Close); }
internal HistoryNavigator(ProjectShellViewModel shellViewModel) { _shellViewModel = shellViewModel; }