public ControlVM(IModulesVM vm, ModulesOperations operations, IMessageBoxService messageBoxService, DependencyObject control) { VM = vm; Operations = operations; this.messageBoxService = messageBoxService; this.control = control; }
ModulesOperationsImpl(IModulesVM modulesVM, DebuggerSettings debuggerSettings, Lazy <ModulesSaver> modulesSaver, Lazy <MemoryWindowService> memoryWindowService, Lazy <ReferenceNavigatorService> referenceNavigatorService, Lazy <IModuleLoader> moduleLoader) { this.modulesVM = modulesVM; this.debuggerSettings = debuggerSettings; this.modulesSaver = modulesSaver; this.memoryWindowService = memoryWindowService; this.referenceNavigatorService = referenceNavigatorService; this.moduleLoader = moduleLoader; }
ModulesContent(IWpfCommandService wpfCommandService, IModulesVM modulesVM, ModulesOperations modulesOperations, IMessageBoxService messageBoxService) { Operations = modulesOperations; modulesControl = new ModulesControl(); this.modulesVM = modulesVM; modulesControl.DataContext = new ControlVM(modulesVM, modulesOperations, messageBoxService, modulesControl); modulesControl.ModulesListViewDoubleClick += ModulesControl_ModulesListViewDoubleClick; wpfCommandService.Add(ControlConstants.GUID_DEBUGGER_MODULES_CONTROL, modulesControl); wpfCommandService.Add(ControlConstants.GUID_DEBUGGER_MODULES_LISTVIEW, modulesControl.ListView); }
ModulesContent(IWpfCommandService wpfCommandService, IModulesVM modulesVM, IDocumentTabService documentTabService, Lazy<IModuleLoader> moduleLoader, Lazy<IInMemoryModuleService> inMemoryModuleService) { modulesControl = new ModulesControl(); vmModules = modulesVM; this.documentTabService = documentTabService; this.moduleLoader = moduleLoader; this.inMemoryModuleService = inMemoryModuleService; modulesControl.DataContext = vmModules; modulesControl.ModulesListViewDoubleClick += ModulesControl_ModulesListViewDoubleClick; wpfCommandService.Add(ControlConstants.GUID_DEBUGGER_MODULES_CONTROL, modulesControl); wpfCommandService.Add(ControlConstants.GUID_DEBUGGER_MODULES_LISTVIEW, modulesControl.ListView); }
ModulesContent(IWpfCommandService wpfCommandService, IModulesVM modulesVM, IDocumentTabService documentTabService, Lazy <IModuleLoader> moduleLoader, Lazy <IInMemoryModuleService> inMemoryModuleService) { this.modulesControl = new ModulesControl(); this.vmModules = modulesVM; this.documentTabService = documentTabService; this.moduleLoader = moduleLoader; this.inMemoryModuleService = inMemoryModuleService; this.modulesControl.DataContext = this.vmModules; this.modulesControl.ModulesListViewDoubleClick += ModulesControl_ModulesListViewDoubleClick; wpfCommandService.Add(ControlConstants.GUID_DEBUGGER_MODULES_CONTROL, modulesControl); wpfCommandService.Add(ControlConstants.GUID_DEBUGGER_MODULES_LISTVIEW, modulesControl.ListView); }
ModulesContent(IWpfCommandManager wpfCommandManager, IThemeManager themeManager, IModulesVM modulesVM, IFileTabManager fileTabManager, Lazy<ModuleLoader> moduleLoader, Lazy<IInMemoryModuleManager> inMemoryModuleManager) { this.modulesControl = new ModulesControl(); this.vmModules = modulesVM; this.fileTabManager = fileTabManager; this.moduleLoader = moduleLoader; this.inMemoryModuleManager = inMemoryModuleManager; this.modulesControl.DataContext = this.vmModules; this.modulesControl.ModulesListViewDoubleClick += ModulesControl_ModulesListViewDoubleClick; themeManager.ThemeChanged += ThemeManager_ThemeChanged; wpfCommandManager.Add(CommandConstants.GUID_DEBUGGER_MODULES_CONTROL, modulesControl); wpfCommandManager.Add(CommandConstants.GUID_DEBUGGER_MODULES_LISTVIEW, modulesControl.ListView); }
ModulesContent(IWpfCommandManager wpfCommandManager, IThemeManager themeManager, IModulesVM modulesVM, IFileTabManager fileTabManager, Lazy <ModuleLoader> moduleLoader, Lazy <IInMemoryModuleManager> inMemoryModuleManager) { this.modulesControl = new ModulesControl(); this.vmModules = modulesVM; this.fileTabManager = fileTabManager; this.moduleLoader = moduleLoader; this.inMemoryModuleManager = inMemoryModuleManager; this.modulesControl.DataContext = this.vmModules; this.modulesControl.ModulesListViewDoubleClick += ModulesControl_ModulesListViewDoubleClick; themeManager.ThemeChanged += ThemeManager_ThemeChanged; wpfCommandManager.Add(CommandConstants.GUID_DEBUGGER_MODULES_CONTROL, modulesControl); wpfCommandManager.Add(CommandConstants.GUID_DEBUGGER_MODULES_LISTVIEW, modulesControl.ListView); }
public ModulesCtxMenuContext(IModulesVM vm, ModuleVM[] selItems) { this.VM = vm; this.SelectedItems = selItems; }