コード例 #1
0
 void CopyILBytesExecuted(object sender, ExecutedRoutedEventArgs e) =>
 CopyILBytesCodeCommand.Execute(documentTabService.ActiveTab.TryGetDocumentViewer(), methodAnnotations);
コード例 #2
0
 void CopyILBytesCanExecute(object sender, CanExecuteRoutedEventArgs e) =>
 e.CanExecute = CopyILBytesCodeCommand.CanExecute(documentTabService.ActiveTab.TryGetDocumentViewer());
コード例 #3
0
 void CopyILBytesCanExecute(object sender, CanExecuteRoutedEventArgs e)
 {
     e.CanExecute = CopyILBytesCodeCommand.CanExecute(fileTabManager.ActiveTab.TryGetTextEditorUIContext());
 }
コード例 #4
0
 void CopyILBytesExecuted(object sender, ExecutedRoutedEventArgs e)
 {
     CopyILBytesCodeCommand.Execute(fileTabManager.ActiveTab.TryGetTextEditorUIContext(), methodAnnotations);
 }
コード例 #5
0
ファイル: InstructionCommands.cs プロジェクト: net10010/dnSpy
 void CopyILBytesCanExecute(object sender, CanExecuteRoutedEventArgs e) =>
 e.CanExecute = CopyILBytesCodeCommand.CanExecute(fileTabManager.ActiveTab.TryGetDocumentViewer());