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