public ControlVM(IThreadsVM vm, ThreadsOperations operations, IMessageBoxService messageBoxService, DependencyObject control) { VM = vm; Operations = operations; this.messageBoxService = messageBoxService; this.control = control; }
ThreadsContent(IWpfCommandService wpfCommandService, IThreadsVM threadsVM, ThreadsOperations threadsOperations, IMessageBoxService messageBoxService) { Operations = threadsOperations; threadsControl = new ThreadsControl(); this.threadsVM = threadsVM; threadsControl.DataContext = new ControlVM(threadsVM, threadsOperations, messageBoxService, threadsControl); threadsControl.ThreadsListViewDoubleClick += ThreadsControl_ThreadsListViewDoubleClick; wpfCommandService.Add(ControlConstants.GUID_DEBUGGER_THREADS_CONTROL, threadsControl); wpfCommandService.Add(ControlConstants.GUID_DEBUGGER_THREADS_LISTVIEW, threadsControl.ListView); }
public ThreadsCtxMenuContext(ThreadsOperations operations) => Operations = operations;