コード例 #1
0
 CommandLoader(IWpfCommandService wpfCommandService, IDocumentTabService documentTabService, RemoveNetModuleFromAssemblyCommand.EditMenuCommand removeCmd, ModuleSettingsCommand.EditMenuCommand settingsCmd)
 {
     wpfCommandService.AddRemoveCommand(removeCmd);
     wpfCommandService.AddSettingsCommand(documentTabService, settingsCmd, null);
 }
コード例 #2
0
ファイル: ModuleCommands.cs プロジェクト: haise0/reAtomizer
 CommandLoader(IWpfCommandManager wpfCommandManager, IFileTabManager fileTabManager, RemoveNetModuleFromAssemblyCommand.EditMenuCommand removeCmd, ModuleSettingsCommand.EditMenuCommand settingsCmd)
 {
     wpfCommandManager.AddRemoveCommand(removeCmd);
     wpfCommandManager.AddSettingsCommand(fileTabManager, settingsCmd, null);
 }