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