public OpenItemCommand(TreeViewModel treeViewModel, MainViewModel mainViewModel, IseIntegrator iseIntegrator, TokenLocator tokenLocator) { this.treeViewModel = treeViewModel; this.mainViewModel = mainViewModel; this.iseIntegrator = iseIntegrator; this.tokenLocator = tokenLocator; }
public ProjectExplorerWindow() { ConfigureLogging(); MainViewModel = new MainViewModel(); MainViewModel.ActiveDocumentSyncEvent += OnActiveDocumentSyncEvent; DataContext = MainViewModel; InitializeComponent(); Dispatcher.UnhandledException += DispatcherUnhandledExceptionHandler; }
public ClearSearchTextCommand(MainViewModel mainViewModel) { this.mainViewModel = mainViewModel; }