コード例 #1
0
 CommandLoader(IWpfCommandManager wpfCommandManager, IFileTabManager fileTabManager, DeletePropertyDefCommand.EditMenuCommand removeCmd, DeletePropertyDefCommand.CodeCommand removeCmd2, PropertyDefSettingsCommand.EditMenuCommand settingsCmd, PropertyDefSettingsCommand.CodeCommand settingsCmd2)
 {
     wpfCommandManager.AddRemoveCommand(removeCmd);
     wpfCommandManager.AddRemoveCommand(removeCmd2, fileTabManager);
     wpfCommandManager.AddSettingsCommand(fileTabManager, settingsCmd, settingsCmd2);
 }
コード例 #2
0
ファイル: PropertyDefCommands.cs プロジェクト: zz110/dnSpy
 CommandLoader(IWpfCommandService wpfCommandService, IDocumentTabService documentTabService, DeletePropertyDefCommand.EditMenuCommand removeCmd, DeletePropertyDefCommand.CodeCommand removeCmd2, PropertyDefSettingsCommand.EditMenuCommand settingsCmd, PropertyDefSettingsCommand.CodeCommand settingsCmd2)
 {
     wpfCommandService.AddRemoveCommand(removeCmd);
     wpfCommandService.AddRemoveCommand(removeCmd2, documentTabService);
     wpfCommandService.AddSettingsCommand(documentTabService, settingsCmd, settingsCmd2);
 }