CommandLoader(IWpfCommandService wpfCommandService, IDocumentTabService documentTabService, RemoveNetModuleFromAssemblyCommand.EditMenuCommand removeCmd, ModuleSettingsCommand.EditMenuCommand settingsCmd) { wpfCommandService.AddRemoveCommand(removeCmd); wpfCommandService.AddSettingsCommand(documentTabService, settingsCmd, null); }
CommandLoader(IWpfCommandManager wpfCommandManager, IFileTabManager fileTabManager, RemoveNetModuleFromAssemblyCommand.EditMenuCommand removeCmd, ModuleSettingsCommand.EditMenuCommand settingsCmd) { wpfCommandManager.AddRemoveCommand(removeCmd); wpfCommandManager.AddSettingsCommand(fileTabManager, settingsCmd, null); }